diff options
Diffstat (limited to 'src/openvic-simulation')
-rw-r--r-- | src/openvic-simulation/map/Province.cpp | 9 | ||||
-rw-r--r-- | src/openvic-simulation/map/Province.hpp | 1 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/openvic-simulation/map/Province.cpp b/src/openvic-simulation/map/Province.cpp index b0717b9..199e472 100644 --- a/src/openvic-simulation/map/Province.cpp +++ b/src/openvic-simulation/map/Province.cpp @@ -82,8 +82,13 @@ bool Province::load_positions(BuildingManager const& building_manager, ast::Node }, "naval_base", ZERO_OR_ONE, [this](ast::NodeCPtr node) -> bool { return expect_fixed_point(assign_variable_callback(positions.navalbase_rotation))(node); - } - ) + }, + "aeroplane_factory", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; } /* see below */ + ), + /* the below are esoteric clausewitz leftovers that either have no impact or whose functionality is lost to time */ + "spawn_railway_track", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; }, + "railroad_visibility", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; }, + "building_nudge", ZERO_OR_ONE, [](ast::NodeCPtr _) -> bool { return true; } )(root); } diff --git a/src/openvic-simulation/map/Province.hpp b/src/openvic-simulation/map/Province.hpp index a621182..31b5d4c 100644 --- a/src/openvic-simulation/map/Province.hpp +++ b/src/openvic-simulation/map/Province.hpp @@ -54,7 +54,6 @@ namespace OpenVic { fixed_point_t railroad_rotation; fvec2_t navalbase; fixed_point_t navalbase_rotation; - /* fvec2_t spawn_railway_track; treating as extraneous until proven need */ }; |