aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility/Utility.hpp
Commit message (Collapse)AuthorAgeLines
* Added StringMapCase and case insensitive expect_dictionary_keyscase-rework hop3112024-01-25-0/+8
|
* Miscellaneous bug fixes and format cleanupmisc-changes hop3112024-01-22-2/+2
|
* Add skeleton CountryRelationManager Spartan3222024-01-18-11/+51
| | | | | | | | | Change `DiplomaticAction::Argument` to refer to `CountryInstance*` instead of `Country*` Add `GameManager&` argument to `DiplomaticActionManager::setup_diplomatic_actions` Add some ErrorMacros, likely and unlikely macros and stringization macros (based on Godot's macros) Implement `increase_relations` DiplomaticAction commit function Implement `decrease_relations` DiplomaticAction commit function Fix include StringUtils.hpp errors
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-0/+48
| | | | | | | | | | | Add is_specialization_of to Utility.hpp Add OpenVic::ordered_map and OpenVic::ordered_set Change `std::map` to `ordered_map` Change `std::set to use `ordered_set` Add `set_callback_pointer(tsl::ordered_set<T const*>& set)` Add mutable_iterator to enable mutable value iterator for `tsl::ordered_map` Add std::hash<OpenVic::Date> implementation Enable deps/SCsub to expose dependency includes neccessary for inclusion
* Change colour_t to be a strongly typed structure Spartan3222023-12-24-0/+14
Make RGB default of `colour_t` Distinguish RGB and ARGB colors by type and colour_traits Add `_colour` and `_argb` colour user-defined literals Add `OpenVic::utility::unreachable`