aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Pop.hpp
Commit message (Collapse)AuthorAgeLines
* Use normal const for fixed_point_tcleanup_const& wvpm7 days-1/+1
|
* Implement rgo for new gameprepare_for_rgo wvpm7 days-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Reduce pop size to int32pop_size_int32 wvpm2024-09-18-1/+1
|
* Calculate country military power (still needs modifiers + soldier pop ↵ranking hop3112024-09-09-0/+9
| | | | supported regiment count)
* Add IndexedMap and use in low key count, high value density casesindexed-map hop3112024-07-17-6/+5
|
* Use minimal PopBase for pop historypop-base hop3112024-06-27-24/+29
|
* Renamed Country to CountryDefinitioncountry-definition hop3112024-06-20-1/+1
|
* Separated GameManager into Definition and Instance Managersinstance-definition-managers hop3112024-06-13-2/+2
|
* Add GoodInstancegood-instance hop3112024-06-08-12/+12
|
* Province const/mutable separation + State cleanupconst-mutable hop3112024-06-06-4/+2
|
* Add Pop attributes + generate test valuespop-menu hop3112024-03-20-0/+21
|
* feat: unit instance type definition, renamed existing structs for consistencymilitary-units zaaarf2024-03-16-5/+5
|
* Reworked Units and added IdentifierPointerRegistryunit-rework hop3112024-01-23-10/+13
|
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-1/+2
|
* Miscellaneous bug fixes and format cleanupmisc-changes hop3112024-01-22-1/+1
|
* Parse missing variables, Logger counting, misc cleanup hop3112024-01-18-24/+143
|
* Added pop properties (size changes, literacy) FarmingtonS92024-01-02-4/+9
|
* Added framework for loading all Conditions and Effects hop3112024-01-02-8/+46
|
* Removed modifier generating macros. hop3112023-12-14-1/+1
|
* Made pop type strata moddable hop3112023-12-13-3/+21
|
* Province pop history + country government flag override refactors hop3112023-12-13-2/+16
|
* feat: implemented pop history loading zaaarf2023-12-10-3/+1
|
* feat: improved identifier registry macro zaaarf2023-12-10-2/+1
|
* Crime+event modifier loading + misc UI backend hop3112023-12-02-2/+17
|
* feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX zaaarf2023-12-01-5/+2
|
* chore: use PROPERTY and its variants when possible zaaarf2023-11-22-30/+19
|
* Striped mapmode and improved distributions hop3112023-11-15-1/+1
|
* Clang-format formatting (with manual cleanup) hop3112023-10-29-11/+12
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-1/+2
|
* Minor cleanup hop3112023-10-20-4/+2
|
* Loading of poptype needs & rebel compositions k0uneli2023-10-16-5/+17
|
* Lots of accumulated changes hop3112023-10-12-1/+1
|
* Removed unnecessary `const std::string_view`s Hop3112023-09-28-4/+4
|
* Testing (#23) CptAlanSmith2023-09-23-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes for building scons * Initial proof of concept auto-testing Shows how we can pull loaded data and display it back * Re-did headless Because hubert insisted it be done like this ;) * Auto-Testing Framework Basics * Requirements Calculations * Fix for messy merge (teach me to use merge tools) * Fixing up misc merge issues to fully reconcile with master changes * Re-added missing getters * Move of testing files due to folder reorgs * Use new accessors + int reading fix --------- Co-authored-by: Hop311 <hop3114@gmail.com>
* Region + localisation loading Hop3112023-09-14-1/+1
|
* Format cleanup and req comments Hop3112023-09-09-1/+1
|
* PR feedback + Logger::warning Hop3112023-09-09-4/+2
|
* More refactoring and duplicate code removal Hop3112023-09-08-0/+101