From 1b35c3a4434873b98f8e3aa7770f0edd37ec053c Mon Sep 17 00:00:00 2001 From: ClarkeCode Date: Fri, 28 Apr 2023 17:34:45 -0400 Subject: Moved several type aliases to Types.hpp; Added HasColour class for items which need associated colours --- extension/src/openvic2/GameManager.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extension/src/openvic2/GameManager.hpp') diff --git a/extension/src/openvic2/GameManager.hpp b/extension/src/openvic2/GameManager.hpp index 65cd566..7b15dc8 100644 --- a/extension/src/openvic2/GameManager.hpp +++ b/extension/src/openvic2/GameManager.hpp @@ -2,6 +2,7 @@ #include "openvic2/GameAdvancementHook.hpp" #include "openvic2/map/Map.hpp" +#include "openvic2/Types.hpp" namespace OpenVic2 { struct GameManager { @@ -24,6 +25,6 @@ namespace OpenVic2 { return_t setup(); Date const& get_today() const; - return_t expand_building(Province::index_t province_index, std::string const& building_type_identifier); + return_t expand_building(index_t province_index, std::string const& building_type_identifier); }; } -- cgit v1.2.3-56-ga3b1