aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/ProvinceHistory.hpp
Commit message (Collapse)AuthorAgeLines
* Implement rgo for new gameprepare_for_rgo wvpm13 days-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
* Fleshing out Country, State and Province instances + historycountry-instance hop3112024-07-22-2/+1
|
* Use minimal PopBase for pop historypop-base hop3112024-06-27-3/+1
|
* Renamed Country to CountryDefinitioncountry-definition hop3112024-06-20-5/+5
|
* Separated GameManager into Definition and Instance Managersinstance-definition-managers hop3112024-06-13-6/+12
|
* Add GoodInstancegood-instance hop3112024-06-08-2/+2
|
* Separated MapDefinition and MapInstancemap-instance hop3112024-06-07-2/+2
|
* Province const/mutable separation + State cleanupconst-mutable hop3112024-06-06-15/+29
|
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-4/+2
|
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-3/+4
| | | | | | | | | | | 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
* Province pop history + country government flag override refactors hop3112023-12-13-5/+10
|
* feat: implemented pop history loading zaaarf2023-12-10-0/+6
|
* Misc changes hop3112023-11-16-3/+3
|
* Bookmark loading + province and building cleanup hop3112023-11-15-3/+2
|
* Striped mapmode and improved distributions hop3112023-11-15-1/+1
|
* History loading generalisation hop3112023-11-07-59/+39
|
* History loading changes + PROPERTY macro hop3112023-11-07-18/+23
|
* Stop passing Dates by reference hop3112023-11-07-1/+1
|
* Make add_province_history_entry use optionals Spartan3222023-10-30-4/+5
|
* Clang-format formatting (with manual cleanup) hop3112023-10-29-20/+6
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-75/+78
|
* Imrpove Province Histories Joel Machens2023-10-29-5/+13
|
* Implement Province History Loading BrickPi2023-10-27-0/+88