diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-25 22:52:57 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-25 22:52:57 +0200 |
commit | 932b43953d623557236a31b30899b706307260ed (patch) | |
tree | f259ab717ad77faf2562f97c809fd641e37ea58a /src/openvic-simulation/GameManager.cpp | |
parent | b84f5a03b40f1925c456cd247c2c2f04af8ef778 (diff) |
Added review comments
Diffstat (limited to 'src/openvic-simulation/GameManager.cpp')
-rw-r--r-- | src/openvic-simulation/GameManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openvic-simulation/GameManager.cpp b/src/openvic-simulation/GameManager.cpp index 1d95aa4..d9dc3d9 100644 --- a/src/openvic-simulation/GameManager.cpp +++ b/src/openvic-simulation/GameManager.cpp @@ -134,10 +134,11 @@ bool GameManager::expand_building(Province::index_t province_index, const std::s static constexpr colour_t LOW_ALPHA_VALUE = float_to_alpha_value(0.4f); static constexpr colour_t HIGH_ALPHA_VALUE = float_to_alpha_value(0.7f); -static constexpr colour_t LAND_COLOUR = 0x0D7017; -static constexpr colour_t WATER_COLOUR = 0x4287F5; static colour_t default_colour(Province const& province) { + /* Nice looking colours to blend with the terrain textures */ + static constexpr colour_t LAND_COLOUR = 0x0D7017; + static constexpr colour_t WATER_COLOUR = 0x4287F5; return LOW_ALPHA_VALUE | (province.get_water() ? WATER_COLOUR : LAND_COLOUR); } |