aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/military/UnitInstance.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-06-07 00:20:58 +0200
committer hop311 <hop3114@gmail.com>2024-06-07 12:28:16 +0200
commit1198a780916e65cae048dd3478f614c1d18db846 (patch)
treef681dd2e76d489ba6e7beea44ae6ebd59e9d51f3 /src/openvic-simulation/military/UnitInstance.hpp
parentc94a06477fc3930e8f8f2e5f971fc4b5b838ea0d (diff)
Separated MapDefinition and MapInstancemap-instance
Diffstat (limited to 'src/openvic-simulation/military/UnitInstance.hpp')
-rw-r--r--src/openvic-simulation/military/UnitInstance.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openvic-simulation/military/UnitInstance.hpp b/src/openvic-simulation/military/UnitInstance.hpp
index a3a53d0..a1437ef 100644
--- a/src/openvic-simulation/military/UnitInstance.hpp
+++ b/src/openvic-simulation/military/UnitInstance.hpp
@@ -186,7 +186,7 @@ namespace OpenVic {
struct RegimentDeployment;
struct ShipDeployment;
- struct Map;
+ struct MapInstance;
struct ArmyDeployment;
struct NavyDeployment;
struct Deployment;
@@ -201,10 +201,10 @@ namespace OpenVic {
bool generate_regiment(RegimentDeployment const& regiment_deployment, RegimentInstance*& regiment);
bool generate_ship(ShipDeployment const& ship_deployment, ShipInstance*& ship);
- bool generate_army(Map& map, CountryInstance& country, ArmyDeployment const& army_deployment);
- bool generate_navy(Map& map, CountryInstance& country, NavyDeployment const& navy_deployment);
+ bool generate_army(MapInstance& map_instance, CountryInstance& country, ArmyDeployment const& army_deployment);
+ bool generate_navy(MapInstance& map_instance, CountryInstance& country, NavyDeployment const& navy_deployment);
public:
- bool generate_deployment(Map& map, CountryInstance& country, Deployment const* deployment);
+ bool generate_deployment(MapInstance& map_instance, CountryInstance& country, Deployment const* deployment);
};
}