diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/src/MapSingleton.cpp | 3 | ||||
-rw-r--r-- | extension/src/openvic2/Map.hpp | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/extension/src/MapSingleton.cpp b/extension/src/MapSingleton.cpp index 8c38926..7ad404c 100644 --- a/extension/src/MapSingleton.cpp +++ b/extension/src/MapSingleton.cpp @@ -31,6 +31,9 @@ MapSingleton* MapSingleton::get_singleton() { return singleton; } +/* REQUIREMENTS: + * MAP-21, MAP-25 + */ MapSingleton::MapSingleton() { ERR_FAIL_COND(singleton != nullptr); singleton = this; diff --git a/extension/src/openvic2/Map.hpp b/extension/src/openvic2/Map.hpp index 20e8a92..42963c9 100644 --- a/extension/src/openvic2/Map.hpp +++ b/extension/src/openvic2/Map.hpp @@ -11,6 +11,9 @@ namespace OpenVic2 { struct Region; struct Map; + /* REQUIREMENTS: + * MAP-43, MAP-47 + */ struct Province { friend struct Map; @@ -36,6 +39,9 @@ namespace OpenVic2 { std::string to_string() const; }; + /* REQUIREMENTS: + * MAP-6, MAP-44, MAP-48 + */ struct Region { friend struct Map; private: @@ -67,6 +73,9 @@ namespace OpenVic2 { colour_func_t get_colour_func() const; }; + /* REQUIREMENTS: + * MAP-4 + */ struct Map { private: std::vector<Province> provinces; |