diff options
author | zaaarf <me@zaaarf.foo> | 2024-01-02 15:24:06 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-01-02 15:24:06 +0100 |
commit | 2f5706fd5ef6bbdee54c82860e03f00a96751693 (patch) | |
tree | 18f411de9d9017c6e8b1f5251c7cc02abdecde90 /src/openvic-simulation/map/Province.hpp | |
parent | 255f85c12d104f7f7b12bd69892a1c993885451d (diff) |
feat: calculate province distance using new sqrt functions
Diffstat (limited to 'src/openvic-simulation/map/Province.hpp')
-rw-r--r-- | src/openvic-simulation/map/Province.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/openvic-simulation/map/Province.hpp b/src/openvic-simulation/map/Province.hpp index bb10b29..b77ec06 100644 --- a/src/openvic-simulation/map/Province.hpp +++ b/src/openvic-simulation/map/Province.hpp @@ -155,13 +155,7 @@ namespace OpenVic { std::vector<adjacency_t const*> get_adjacencies_going_through(Province const* province) const; bool has_adjacency_going_through(Province const* province) const; - static bool add_standard_adjacency(Province& from, Province& to); - static bool add_special_adjacency( - Province& from, Province& to, adjacency_t::type_t type, Province const* through, adjacency_t::data_t data - ); - fvec2_t get_unit_position() const; - static distance_t calculate_distance_between(Province const& from, Province const& to); bool reset(BuildingTypeManager const& building_type_manager); bool apply_history_to_province(ProvinceHistoryEntry const* entry); |