aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader
Commit message (Collapse)AuthorAgeLines
* Merge pull request #222 from OpenVicProject/defines-variables Hop3112024-10-31-3/+3
|\ | | | | Load defines directly into named and typed variables rather than using an IdentifierRegistry
| * Load defines directly into named and typed variables rather than using an ↵defines-variables hop3112024-10-31-3/+3
| | | | | | | | IdentifierRegistry
* | Merge pull request #218 from OpenVicProject/condition-scripts-prep-work Hop3112024-10-31-1/+26
|\ \ | |/ |/| Condition scripts prep work
| * Finish ConditionalWeight base key parsing (including days/months/years) hop3112024-10-31-1/+26
| |
* | Implement rgo for new gameprepare_for_rgo wvpm2024-10-30-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Map province history rgo to production type for province instance output_goods back to ZERO_OR_ONE Link trade_goods in history to RGO instance for province. Other producer types as structs instead of classes Convert pops to equivalents & calculate rgo size Also convert pops when changing rgo Clean up Refactored RGO into part of ProvinceInstance ProductionType const& output_good Remove unused imports Clean up unused imports Restore constructor for ResourceGatheringOperation to initialise from savegame Move rgo size calculation to rgo Use terrain modifiers to calculate rgo size (placeholder code) Clean up Basic production & sales for rgo when initialising new game Use mutable pops Paychecks for owners, workers and slaves Clean up Simplify rgo instantiation Co-authored-by: Hop311 <Hop3114@gmail.com> Simplify good_to_rgo_production_type assignment Co-authored-by: Hop311 <Hop3114@gmail.com> Fix import Co-authored-by: Hop311 <Hop3114@gmail.com> min(3, great_powers.size()) Co-authored-by: Hop311 <Hop3114@gmail.com> Fix import Co-authored-by: Hop311 <Hop3114@gmail.com> Apply comments Log errors and return result when applying history Cleanup
* contextual modifier parsingcontextual_modifier_parsing wvpm2024-10-26-1/+9
|
* Simulation Side Rivers BrickPi2024-09-21-2/+3
|
* CountryInstance unlock tech, invention, crime, building, unit, gas etc. hop3112024-09-12-1/+17
|
* Merge pull request #189 from OpenVicProject/fix/lexy-vdf-parse-error George L. Albany2024-09-01-2/+4
|\ | | | | Fix handling empty `vic2_steam_lib_directory`
| * Fix handling empty `vic2_steam_lib_directory`fix/lexy-vdf-parse-error Spartan3222024-08-31-2/+4
| |
* | Assorted minor fixes (clang-format.sh shebang, parse national foci scripts, ↵assorted-fixes hop3112024-08-14-2/+3
| | | | | | | | factor song chance, update openvic-dataloader)
* | Load font colour codesfont-colour-codes hop3112024-08-04-1/+1
|/
* Merge pull request #181 from OpenVicProject/sim_music Nemrav2024-08-03-1/+47
|\ | | | | Music and Sound Effect define loading
| * Music and Sound Effect define loadingsim_music Nemrav2024-08-03-1/+47
| | | | | | | | | | | | | | | | sound and music pr feedback more sound and music style fixes check lookup path
* | GUI::ListBox offsets + load search panel gui filelistbox-offsets hop3112024-07-29-1/+1
|/
* Merge pull request #179 from OpenVicProject/bookmark-position Hop3112024-07-24-0/+8
|\ | | | | Load bookmark position as fvec2_t with height flipped
| * Load bookmark position as fvec2_t with height flippedbookmark-position hop3112024-07-24-0/+8
| |
* | Fleshing out Country, State and Province instances + historycountry-instance hop3112024-07-22-4/+3
|/
* Cleanup: inheritance, const movable variables, code formattingformat-cleanup hop3112024-07-19-8/+7
|
* Optimize some string interning casesoptimize/string-interning Spartan3222024-07-18-49/+106
|
* Use rvalue references for NodeToolsprefer/rvalue-refs Spartan3222024-07-17-77/+96
|
* Add IndexedMap and use in low key count, high value density casesindexed-map hop3112024-07-17-1/+25
|
* Update OpenVicProject/OpenVic-Dataloader@4a49007dryad zaaarf2024-07-07-50/+125
| | | | | Update .clang-format categories Move type_name and SelfType functioanlity to utility/Getters
* Renamed Country to CountryDefinitioncountry-definition hop3112024-06-20-5/+6
|
* Separated GameManager into Definition and Instance Managersinstance-definition-managers hop3112024-06-13-143/+150
|
* Add GoodInstancegood-instance hop3112024-06-08-8/+8
|
* Separated MapDefinition and MapInstancemap-instance hop3112024-06-07-17/+19
|
* Separated out MapmodeManager hop3112024-06-06-0/+4
|
* Province const/mutable separation + State cleanupconst-mutable hop3112024-06-06-5/+7
|
* Merge pull request #157 from OpenVicProject/pointer-opt Hop3112024-04-15-2/+10
|\ | | | | Add std::optional assign pointer callback with overwrite control
| * Add std::optional assign pointer callback with overwrite controlpointer-opt hop3112024-04-15-2/+10
| |
* | Rework GFX::Actor Attachments and Animations hop3112024-04-15-2/+1
| |
* | Rework province position loading and map dims hop3112024-04-15-0/+19
| |
* | Generate starting unit instancesunits hop3112024-04-15-5/+2
|/
* feat: unit instance type definition, renamed existing structs for consistencymilitary-units zaaarf2024-03-16-9/+9
|
* Cleaned up tech loading and added tech lists for areastech-improvements hop3112024-03-02-3/+6
|
* Merge pull request #148 from OpenVicProject/region-colours Arturo2024-02-22-3/+17
|\ | | | | Regions are now coloured from colors.txt
| * Regions are now coloured from colors.txtregion-colours Arturo2024-02-22-3/+17
| |
* | Merge pull request #146 from BetterBite/master BetterBite2024-02-15-0/+7
|\ \ | |/ |/| Implemented loading of country unit colours
| * 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 support for loading all gui filesgui-loading hop3112024-02-04-3/+16
| |
* | Reworked ReturnByValue, warn_or_error, expect_date_[identifier_or_]string hop3112024-02-04-18/+20
|/
* 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
|/