aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader
Commit message (Collapse)AuthorAgeLines
* Added country unit colour loading BetterBite2024-02-15-0/+7
| | | | | | | | | | | | | | add skeleton for loading country colours created load_countries_colours function removed const for unit colours in Country.hpp removed some comments Removed erroneous underscore Removed todo comment
* Added StringMapCase and case insensitive expect_dictionary_keyscase-rework hop3112024-01-25-126/+136
|
* Reworked Units and added IdentifierPointerRegistryunit-rework hop3112024-01-23-14/+17
|
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-99/+180
|
* Miscellaneous bug fixes and format cleanupmisc-changes hop3112024-01-22-15/+14
|
* Harmonize empty result behavior for `_search_for_game_path` Spartan3222024-01-19-13/+30
| | | | | | | Enables actually searching for game path Reports info or warning depending on why it fails Remove StringUtils.hpp include in Vic2PathSearch.cpp Add <cstdint> to StringUtils.hpp
* Merge pull request #119 from OpenVicProject/add/country-relations George L. Albany2024-01-19-1/+1
|\
| * Add skeleton CountryRelationManager Spartan3222024-01-18-1/+1
| | | | | | | | | | | | | | | | | | Change `DiplomaticAction::Argument` to refer to `CountryInstance*` instead of `Country*` Add `GameManager&` argument to `DiplomaticActionManager::setup_diplomatic_actions` Add some ErrorMacros, likely and unlikely macros and stringization macros (based on Godot's macros) Implement `increase_relations` DiplomaticAction commit function Implement `decrease_relations` DiplomaticAction commit function Fix include StringUtils.hpp errors
* | Parse missing variables, Logger counting, misc cleanup hop3112024-01-18-21/+34
|/
* Reworked UniqueKeyRegistry template params + added support for std::deque ↵ hop3112024-01-13-0/+2
| | | | storage
* Added map_callback and expect_item_dictionary_reserve_length hop3112024-01-08-13/+50
|
* feat: condition loading and parsing zaaarf2024-01-07-57/+38
| | | | Co-authored-by: Hop311 <Hop3114@gmail.com>
* Added case insensitive ordered set and map and IdentifierRegistry hop3112024-01-03-22/+8
|
* Merge pull request #116 from OpenVicProject/rule-rework Hop3112024-01-03-17/+19
|\ | | | | Mutually exclusive rule groups + modded building rules
| * Mutually exclusive rule groups + modded building rules hop3112024-01-03-17/+19
| |
* | Merge pull request #101 from ↵ George L. Albany2024-01-03-0/+4
|\ \ | |/ |/| | | OpenVicProject/spooky-scary-skeletons-send-diplo-down-your-spine
| * Add diplomatic actions skeleton Spartan3222024-01-03-0/+4
| | | | | | | | | | | | Add AnyRef for cheap "move only" reference Add FunctionRef for cheap "move only" function reference Based on https://github.com/think-cell/think-cell-library/blob/main/tc/base/ref.h
* | Added framework for loading all Conditions and Effects hop3112024-01-02-73/+202
|/
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-16/+19
| | | | | | | | | | | 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
* Merge pull request #107 from OpenVicProject/dataloading-issues-reforms-modifiers zaaarf2023-12-28-1/+2
|\ | | | | Dataloading Issue/Reform Modifiers and RuleSets
| * feat: rule and modifier loading for issues and reforms zaaarf2023-12-28-1/+2
| |
* | feat: loading climate.txt and continent.txt zaaarf2023-12-27-2/+17
|/
* Added political/policy rules hop3112023-12-26-0/+4
|
* Province building scaffolding hop3112023-12-25-0/+10
|
* Merge pull request #100 from OpenVicProject/change/colour_t_to_struct George L. Albany2023-12-24-10/+16
|\
| * Change colour_t to be a strongly typed structure Spartan3222023-12-24-10/+16
| | | | | | | | | | | | | | 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-12/+13
|/
* Additional adjacency loading BuildTools2023-12-17-14/+20
|
* Merge pull request #92 from OpenVicProject/dataloading-onactions Hop3112023-12-14-0/+7
|\ | | | | on_action dataloading
| * feat: on_action dataloading zaaarf2023-12-14-0/+7
| |
* | Made pop type strata moddable hop3112023-12-13-14/+13
| |
* | Province pop history + country government flag override refactors hop3112023-12-13-25/+42
| |
* | feat: implemented pop history loading zaaarf2023-12-10-14/+20
|/
* feat: decision dataloading zaaarf2023-12-10-0/+21
|
* Merge pull request #45 from OpenVicProject/event-loading Hop3112023-12-10-2/+20
|\ | | | | Skeleton Event Loading
| * Generic Event Loading BrickPi2023-12-10-2/+20
| |
* | feat: added missing country history keys (except decisions) zaaarf2023-12-10-2/+1
|/
* Vec/set callbacks + crime file + prov building pos hop3112023-12-07-34/+45
|
* Merge pull request #83 from OpenVicProject/dataloading-inventions zaaarf2023-12-05-6/+53
|\ | | | | Dataloading inventions
| * feat: implemented invention dataloading zaaarf2023-12-05-6/+53
| |
* | Move Victoria 2 path searching to Vic2PathSearch.cpp Spartan3222023-12-04-316/+342
|/ | | | Move fshash and _cached_paths definitions to Dataloader::Search_for_game_path
* Crime+event modifier loading + misc UI backend hop3112023-12-02-72/+70
|
* feat: implemented modifier identifier flattening, added/fixed remaining tech ↵ zaaarf2023-12-02-38/+71
| | | | modifiers effects
* feat: implemented basic technology and school loading (modifier processing ↵ zaaarf2023-10-22-0/+25
| | | | is still missing)
* feat: rebel type parsing zaaarf2023-12-01-0/+9
|
* chore: change some lingering lowerCamelCase to snake_case zaaarf2023-11-22-3/+3
|
* Misc changes hop3112023-11-16-1/+33
|
* Bookmark loading + province and building cleanup hop3112023-11-15-1/+3
|
* Implement National Foci BrickPi2023-11-15-0/+7
|
* Directory lookup refactor+suppressed wargoal error hop3112023-11-13-48/+65
|