aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility/BMP.cpp
Commit message (Collapse)AuthorAgeLines
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-1/+0
|
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-1/+2
| | | | | | | | | | | 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-2/+2
| | | | | | 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-2/+2
| | | | | | | 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`
* Clang-format formatting (with manual cleanup) hop3112023-10-29-8/+11
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-2/+4
|
* Adding terrain image/type loading Hop3112023-09-25-17/+76
|
* More refactoring and duplicate code removal Hop3112023-09-08-0/+163