diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-04-24 05:36:42 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-05-02 00:50:24 +0200 |
commit | 112de0ac9c7ce26bd75d06e4cd3bc91adee716e3 (patch) | |
tree | 8c2376ce06c164e10fe815723e5601f2a7bebf02 /extension/src/GameSingleton.hpp | |
parent | b1e985e0774598b3add22069be50f891e981fd79 (diff) |
Support features up to clang-format 14
Add .editorconfig
Update C++ files within `extension/src` to follow .clang-format
Diffstat (limited to 'extension/src/GameSingleton.hpp')
-rw-r--r-- | extension/src/GameSingleton.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/src/GameSingleton.hpp b/extension/src/GameSingleton.hpp index 80b2d95..21ca2d1 100644 --- a/extension/src/GameSingleton.hpp +++ b/extension/src/GameSingleton.hpp @@ -9,6 +9,7 @@ namespace OpenVic2 { struct TerrainVariant : HasIdentifier, HasColour { private: const godot::Ref<godot::Image> image; + public: TerrainVariant(std::string const& new_identfier, colour_t new_colour, godot::Ref<godot::Image> const& new_image); @@ -36,6 +37,7 @@ namespace OpenVic2 { godot::Error _parse_region_entry(godot::String const& identifier, godot::Variant const& entry); godot::Error _parse_terrain_entry(godot::String const& identifier, godot::Variant const& entry); void _tick(); + protected: static void _bind_methods(); |