aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility
Commit message (Collapse)AuthorAgeLines
* feat: integer and fixed point square root functions zaaarf2024-01-02-2/+27
|
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-1/+179
| | | | | | | | | | | 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
* Add `BMP::palette_colour_t` as uint32_t Spartan3222023-12-25-5/+9
| | | | | | Change `BMP::palette` to `std::vector<palette_colour_t>` Change `BMP::PALETTE_COLOUR_SIZE` to use `sizeof(palette_colour_t)` Silence warning for `header.num_colours - 1 >> header.bits_per_pixel == 0`
* Change colour_t to be a strongly typed structure Spartan3222023-12-24-3/+20
| | | | | | | 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`
* Crime+event modifier loading + misc UI backend hop3112023-12-02-7/+7
|
* feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX zaaarf2023-12-01-6/+11
|
* chore: use PROPERTY and its variants when possible zaaarf2023-11-22-1/+1
|
* feat: allow (optionally) specifying access levels and custom names for ↵ zaaarf2023-11-22-9/+17
| | | | PROPERTY and PROPERTY_RW macros
* Merge pull request #71 from OpenVicProject/gui-loading Hop3112023-11-13-0/+32
|\ | | | | GUI and GFX file loading
| * GUI and GFX file loading hop3112023-11-12-0/+32
| |
* | Added CountryInstance & Country History Apply Func Joel Machens2023-11-13-3/+10
|/
* Cross-platform file lookup (case and separator) hop3112023-11-07-40/+83
|
* History loading changes + PROPERTY macro hop3112023-11-07-0/+66
|
* Country: datatypes + TGC compat changes hop3112023-11-07-18/+19
|
* Clang-format formatting (with manual cleanup) hop3112023-10-29-14/+20
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-27/+69
|
* Further CLI and modifier reading work hop3112023-10-14-21/+28
|
* TGC compatibility fixes + other cleanup hop3112023-10-13-15/+15
|
* Lots of accumulated changes hop3112023-10-12-1/+2
|
* Add static `Dataloader::search_for_game_path(fs::path)` Spartan3222023-10-12-0/+56
| | | | | | | | | | | Searches for Victoria 2 according to the supplied path If supplied path is empty, presumes Steam install according to platform environment variables If invalid supplied path, falls back to empty path behavior Supports Steam install on Windows, Mac, Linux, and FreeBSD Supports Windows registry Update .clang-format categories to include lexy-vdf Add Utility/ConstexprIntToStr.hpp
* Removed unnecessary `const std::string_view`s Hop3112023-09-28-2/+2
|
* Adding terrain image/type loading Hop3112023-09-25-21/+89
|
* 2D-vectors (positions.txt needs fixed point vecs) Hop3112023-09-16-2/+2
|
* Format cleanup and req comments Hop3112023-09-09-1/+1
|
* PR feedback + Logger::warning Hop3112023-09-09-0/+3
|
* More refactoring and duplicate code removal Hop3112023-09-08-0/+475