aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map
Commit message (Collapse)AuthorAgeLines
* Clock refactor + misc small fixes hop3112023-12-28-8/+10
|
* feat: loading climate.txt and continent.txt zaaarf2023-12-27-4/+114
|
* Made ProvinceSet use Province const* and updated Region loading hop3112023-12-27-113/+93
|
* Province building scaffolding hop3112023-12-25-18/+24
|
* Merge pull request #100 from OpenVicProject/change/colour_t_to_struct George L. Albany2023-12-24-41/+51
|\
| * Change colour_t to be a strongly typed structure Spartan3222023-12-24-41/+51
| | | | | | | | | | | | | | 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`
* | Fixed TGC compatibility + misc cleanup hop3112023-12-23-1/+1
|/
* Additional adjacency loading BuildTools2023-12-17-141/+389
|
* Calculate distance between adjacencies wvpm2023-12-13-7/+25
|
* Merge pull request #89 from OpenVicProject/dataloading-pop-history Hop3112023-12-13-9/+21
|\ | | | | Pop History Loading (with the new system)
| * Province pop history + country government flag override refactors hop3112023-12-13-0/+21
| |
| * feat: implemented pop history loading zaaarf2023-12-10-9/+0
| |
* | Calculate and assign province centers wvpm2023-12-11-21/+51
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed generate_and_load_province_adjacencies to initialize_province_adjacencies_and_center Calculate and assign province centers Ignore null index and substract 1 Moved province center calculation to load_map_images Revert "Renamed generate_and_load_province_adjacencies to initialize_province_adjacencies_and_center" This reverts commit 8b75bb8f1ea79e883b97987a3a85e254fa3e714b. Remove 0 as vector initial values. Revert "Wait for key to close headless" This reverts commit c7a4956de520a8c3ec53c3b68440b7056f9f5dd6. Use idx instead of province.index -1 Use array_index instead of pixel_index to identify province. Unindent set_terrain Reverted changes in _generate_province_adjacencies Move province center code out of set_terrain Divide by zero check Move province center logic back into set_terrain
* feat: improved identifier registry macro zaaarf2023-12-10-27/+7
|
* Meta regions being used to make states fix hop3112023-12-08-9/+10
|
* Vec/set callbacks + crime file + prov building pos hop3112023-12-07-35/+100
|
* Merge pull request #79 from OpenVicProject/states BrickPi2023-12-05-2/+144
|\
| * States First Pass Joel Machens2023-11-28-2/+139
| |
* | Crime+event modifier loading + misc UI backend hop3112023-12-02-19/+5
| |
* | feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX zaaarf2023-12-01-2/+1
|/
* chore: use PROPERTY and its variants when possible zaaarf2023-11-22-44/+8
|
* Misc changes hop3112023-11-16-7/+7
|
* Bookmark loading + province and building cleanup hop3112023-11-15-176/+131
|
* Striped mapmode and improved distributions hop3112023-11-15-31/+42
|
* Merge pull request #71 from OpenVicProject/gui-loading Hop3112023-11-13-1/+3
|\ | | | | GUI and GFX file loading
| * GUI and GFX file loading hop3112023-11-12-1/+3
| |
* | Added CountryInstance & Country History Apply Func Joel Machens2023-11-13-1/+1
|/
* Apply Province Histories BrickPi2023-11-12-0/+68
|
* Cross-platform file lookup (case and separator) hop3112023-11-07-23/+20
|
* History loading changes + PROPERTY macro hop3112023-11-07-3/+11
|
* Stop passing Dates by reference hop3112023-11-07-8/+8
|
* Clang-format formatting (with manual cleanup) hop3112023-10-29-77/+97
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-33/+71
|
* Separated node->string and string->value parsing hop3112023-10-20-1/+1
|
* Minor cleanup hop3112023-10-20-10/+1
|
* Further CLI and modifier reading work hop3112023-10-14-3/+9
|
* TGC compatibility fixes + other cleanup hop3112023-10-13-10/+12
|
* Further cleanup and rearrangement hop3112023-10-13-470/+3
|
* Lots of accumulated changes hop3112023-10-12-83/+63
|
* Refactor Callbacks Joel Machens2023-10-03-49/+19
|
* Fix positions.txt Edge Cases Joel Machens2023-10-03-3/+7
|
* Implement positions.txt Loading Joel Machens2023-10-03-3/+71
|
* Data types, defaults, callback cleanup Hop3112023-09-29-58/+67
|
* Removed unnecessary `const std::string_view`s Hop3112023-09-28-28/+28
|
* feat: implemented building loading and missing parameters zaaarf2023-09-28-35/+137
|
* feat: renamed Building to BuildingInstance, implemented Building and ↵ zaaarf2023-09-28-98/+232
| | | | BuildingType defines
* Expect modifier value + keys function Hop3112023-09-26-29/+4
|
* Added review comments Hop3112023-09-25-0/+4
|
* Calculate terrain types from pixels Hop3112023-09-25-15/+76
|
* Adding terrain image/type loading Hop3112023-09-25-120/+401
|