aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history
Commit message (Collapse)AuthorAgeLines
* Implement rgo for new gameprepare_for_rgo wvpm2024-10-30-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added support for remove_culture custom instructionremove-culture zaaarf2024-09-27-3/+31
|
* CountryInstance unlock tech, invention, crime, building, unit, gas etc. hop3112024-09-12-2/+13
|
* Calculate country industrial power (states still need factory data) hop3112024-09-08-15/+22
|
* Merge pull request #179 from OpenVicProject/bookmark-position Hop3112024-07-24-19/+15
|\ | | | | Load bookmark position as fvec2_t with height flipped
| * Load bookmark position as fvec2_t with height flippedbookmark-position hop3112024-07-24-19/+15
| |
* | Fleshing out Country, State and Province instances + historycountry-instance hop3112024-07-22-17/+34
|/
* Cleanup: inheritance, const movable variables, code formattingformat-cleanup hop3112024-07-19-15/+29
|
* Add IndexedMap and use in low key count, high value density casesindexed-map hop3112024-07-17-14/+32
|
* Use minimal PopBase for pop historypop-base hop3112024-06-27-4/+2
|
* Renamed Country to CountryDefinitioncountry-definition hop3112024-06-20-175/+200
|
* Separated GameManager into Definition and Instance Managersinstance-definition-managers hop3112024-06-13-81/+90
|
* Add GoodInstancegood-instance hop3112024-06-08-4/+5
|
* Separated MapDefinition and MapInstancemap-instance hop3112024-06-07-9/+10
|
* Province const/mutable separation + State cleanupconst-mutable hop3112024-06-06-133/+233
|
* Add std::optional assign pointer callback with overwrite controlpointer-opt hop3112024-04-15-11/+11
|
* Reworked ReturnByValue, warn_or_error, expect_date_[identifier_or_]string hop3112024-02-04-24/+24
|
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-34/+54
|
* Parse missing variables, Logger counting, misc cleanup hop3112024-01-18-3/+7
|
* Added map_callback and expect_item_dictionary_reserve_length hop3112024-01-08-69/+51
|
* More impassable adjacencies + WVPM mod fixes hop3112024-01-07-1/+1
|
* Reparations & optional end date wvpm2024-01-07-58/+153
|
* Added framework for loading all Conditions and Effects hop3112024-01-02-13/+33
|
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-14/+17
| | | | | | | | | | | 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
* Fixed TGC compatibility + misc cleanup hop3112023-12-23-4/+4
|
* Additional adjacency loading BuildTools2023-12-17-1/+1
|
* Province pop history + country government flag override refactors hop3112023-12-13-99/+174
|
* feat: completed country history loading zaaarf2023-12-11-16/+23
|
* feat: implemented pop history loading zaaarf2023-12-10-2/+52
|
* feat: improved identifier registry macro zaaarf2023-12-10-7/+1
|
* feat: added missing country history keys (except decisions) zaaarf2023-12-10-13/+44
|
* feat: loading techs, inventions and foreign investments in country history zaaarf2023-12-09-7/+38
|
* Vec/set callbacks + crime file + prov building pos hop3112023-12-07-39/+27
|
* Crime+event modifier loading + misc UI backend hop3112023-12-02-2/+2
|
* feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX zaaarf2023-12-01-14/+8
|
* chore: use PROPERTY and its variants when possible zaaarf2023-11-22-149/+23
|
* Misc changes hop3112023-11-16-11/+11
|
* Bookmark loading + province and building cleanup hop3112023-11-15-15/+13
|
* Striped mapmode and improved distributions hop3112023-11-15-2/+2
|
* Directory lookup refactor+suppressed wargoal error hop3112023-11-13-3/+3
|
* Apply Province Histories BrickPi2023-11-12-0/+1
|
* Diplomacy History Loading Joel Machens2023-11-08-0/+445
|
* History loading generalisation hop3112023-11-07-672/+411
|
* History loading changes + PROPERTY macro hop3112023-11-07-252/+232
|
* Stop passing Dates by reference hop3112023-11-07-15/+15
|
* Country: datatypes + TGC compat changes hop3112023-11-07-4/+5
|
* Make add_province_history_entry use optionals Spartan3222023-10-30-45/+45
|
* Clang-format formatting (with manual cleanup) hop3112023-10-29-317/+242
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-389/+482
|
* Imrpove Province Histories Joel Machens2023-10-29-28/+96
|