diff options
author | Hop311 <Hop3114@gmail.com> | 2023-04-26 01:26:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 01:26:33 +0200 |
commit | 10053cf259c55ee45803268a844edf1011d8a16b (patch) | |
tree | fcf86e6fac31430ba537a0d056e97f901ad76dd7 /extension/src/openvic2/GameManager.hpp | |
parent | 639f86febf39184cccde9f898fc328375048233f (diff) | |
parent | 563834e7e6f9ce565bbfd553a0d9ff80a98c677d (diff) |
Merge pull request #98 from OpenVic2Project/some-cleanup
Req comments + cleanup + c++ registry refactoring
Diffstat (limited to 'extension/src/openvic2/GameManager.hpp')
-rw-r--r-- | extension/src/openvic2/GameManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/src/openvic2/GameManager.hpp b/extension/src/openvic2/GameManager.hpp index cba0180..65cd566 100644 --- a/extension/src/openvic2/GameManager.hpp +++ b/extension/src/openvic2/GameManager.hpp @@ -13,7 +13,7 @@ namespace OpenVic2 { private: Date today; state_updated_func_t state_updated; - bool needs_update = true; + bool needs_update; void set_needs_update(); void update_state(); @@ -21,7 +21,7 @@ namespace OpenVic2 { public: GameManager(state_updated_func_t state_updated_callback); - void finished_loading_data(); + return_t setup(); Date const& get_today() const; return_t expand_building(Province::index_t province_index, std::string const& building_type_identifier); |