aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map
Commit message (Collapse)AuthorAgeLines
* Add IndexedMap and use in low key count, high value density casesindexed-map hop3112024-07-17-36/+36
|
* Unit and leader rework (branch based templates and colony containers)unit-colonies hop3112024-07-14-3/+33
|
* Use minimal PopBase for pop historypop-base hop3112024-06-27-7/+7
|
* Renamed Country to CountryDefinitioncountry-definition hop3112024-06-20-20/+20
|
* Separated GameManager into Definition and Instance Managersinstance-definition-managers hop3112024-06-13-31/+23
|
* Add GoodInstancegood-instance hop3112024-06-08-11/+31
|
* Separated MapDefinition and MapInstancemap-instance hop3112024-06-07-244/+306
|
* Separated out MapmodeManager hop3112024-06-06-106/+342
|
* Province const/mutable separation + State cleanupconst-mutable hop3112024-06-06-695/+924
|
* Province text info functionsprovince-text hop3112024-04-24-6/+22
|
* Menu reqs: country index, flag type set, province set total populationmenu-reqs hop3112024-04-19-8/+13
|
* Province port adjacency calculationprovince-positions hop3112024-04-15-4/+32
|
* Rework province position loading and map dims hop3112024-04-15-57/+106
|
* Generate starting unit instancesunits hop3112024-04-15-2/+45
|
* Add Pop attributes + generate test valuespop-menu hop3112024-03-20-5/+38
|
* Regions are now coloured from colors.txtregion-colours Arturo2024-02-22-7/+20
|
* Reworked ReturnByValue, warn_or_error, expect_date_[identifier_or_]string hop3112024-02-04-1/+1
|
* Added StringMapCase and case insensitive expect_dictionary_keyscase-rework hop3112024-01-25-3/+3
|
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-71/+89
|
* Added map_callback and expect_item_dictionary_reserve_length hop3112024-01-08-5/+5
|
* Merge pull request #111 from OpenVicProject/conditions-checking zaaarf2024-01-07-1/+1
|\ | | | | Condition definition checking/loading
| * feat: condition loading and parsing zaaarf2024-01-07-1/+1
| | | | | | | | Co-authored-by: Hop311 <Hop3114@gmail.com>
* | More impassable adjacencies + WVPM mod fixes hop3112024-01-07-54/+54
|/
* Mutually exclusive rule groups + modded building rules hop3112024-01-03-1/+1
|
* Merge pull request #114 from OpenVicProject/squared-roots zaaarf2024-01-02-164/+177
|\ | | | | Integer and fixed point squared roots
| * feat: calculate province distance using new sqrt functions zaaarf2024-01-02-164/+177
| |
* | Added framework for loading all Conditions and Effects hop3112024-01-02-10/+30
|/
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-6/+9
| | | | | | | | | | | 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
* 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
|