aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility/BMP.cpp
Commit message (Collapse)AuthorAgeLines
* 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