aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/GameManager.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-08 01:34:47 +0200
committer Hop311 <hop3114@gmail.com>2023-09-08 01:34:47 +0200
commit7f9a9a8241ba81be9213e6606b8be4a48f1cbaab (patch)
tree26b67f150ec1b43593343344eabdc7deca47d0d8 /src/openvic/GameManager.hpp
parent3cd1d62ec00690a1b29070dd4903754e8f089a21 (diff)
Remove return_t, use & instead of if(x != SUCCESS)
Diffstat (limited to 'src/openvic/GameManager.hpp')
-rw-r--r--src/openvic/GameManager.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvic/GameManager.hpp b/src/openvic/GameManager.hpp
index cffa75b..af2ec4f 100644
--- a/src/openvic/GameManager.hpp
+++ b/src/openvic/GameManager.hpp
@@ -27,14 +27,14 @@ namespace OpenVic {
public:
GameManager(state_updated_func_t state_updated_callback);
- return_t setup();
+ bool setup();
Date const& get_today() const;
- return_t expand_building(Province::index_t province_index, const std::string_view building_type_identifier);
+ bool expand_building(Province::index_t province_index, const std::string_view building_type_identifier);
/* Hardcoded data for defining things for which parsing from files has
* not been implemented, currently mapmodes and building types.
*/
- return_t load_hardcoded_defines();
+ bool load_hardcoded_defines();
};
}