aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop
Commit message (Collapse)AuthorAgeLines
* Merge pull request #222 from OpenVicProject/defines-variables Hop3116 days-3/+5
|\ | | | | 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 hop3116 days-3/+5
| | | | | | | | IdentifierRegistry
* | Merge pull request #218 from OpenVicProject/condition-scripts-prep-work Hop3116 days-13/+22
|\ \ | |/ |/| Condition scripts prep work
| * Rename `scope_t` enum to `scope_type_t` hop3117 days-13/+22
| |
* | Use normal const for fixed_point_tcleanup_const& wvpm7 days-2/+2
| |
* | Implement rgo for new gameprepare_for_rgo wvpm7 days-3/+23
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 wvpm11 days-2/+2
|
* Move ModifierManager to its own files hop3112024-10-19-0/+1
|
* Cache modifier effects in dedicated variables hop3112024-10-05-8/+15
|
* Add ModifierEffect targets hop3112024-10-05-2/+4
|
* Make ModifierEffect format argument mandatory hop3112024-10-05-1/+1
|
* Store national focus encouragement in specific variables rather than ↵ hop3112024-09-20-7/+0
| | | | modifier effects
* ModifierEffect and Rule localisation keysrule-modifier-locale-keys hop3112024-09-19-1/+6
|
* Reduce pop size to int32pop_size_int32 wvpm2024-09-18-3/+3
|
* Calculate country military power (still needs modifiers + soldier pop ↵ranking hop3112024-09-09-1/+29
| | | | supported regiment count)
* Remove unnecessary asserts + make `vec2_t(T val)` constructor explicitremove-asserts hop3112024-08-29-14/+11
|
* Fleshing out Country, State and Province instances + historycountry-instance hop3112024-07-22-1/+4
|
* Add IndexedMap and use in low key count, high value density casesindexed-map hop3112024-07-17-22/+26
|
* Use minimal PopBase for pop historypop-base hop3112024-06-27-42/+49
|
* Renamed Country to CountryDefinitioncountry-definition hop3112024-06-20-33/+36
|
* Separated GameManager into Definition and Instance Managersinstance-definition-managers hop3112024-06-13-17/+17
|
* Add GoodInstancegood-instance hop3112024-06-08-23/+27
|
* Province const/mutable separation + State cleanupconst-mutable hop3112024-06-06-4/+2
|
* Dynamically load default GraphicalCultureType hop3112024-04-15-16/+21
|
* Add Pop attributes + generate test valuespop-menu hop3112024-03-20-1/+104
|
* feat: unit instance type definition, renamed existing structs for consistencymilitary-units zaaarf2024-03-16-8/+8
|
* Reworked Units and added IdentifierPointerRegistryunit-rework hop3112024-01-23-20/+32
|
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-23/+37
|
* Miscellaneous bug fixes and format cleanupmisc-changes hop3112024-01-22-1/+1
|
* Parse missing variables, Logger counting, misc cleanup hop3112024-01-18-137/+489
|
* Case insensitive modifiers & added more wvpm2024-01-12-3/+5
|
* Added NationalFocus ModifierEffects + bool variables hop3112024-01-12-0/+5
|
* Added map_callback and expect_item_dictionary_reserve_length hop3112024-01-08-24/+18
|
* feat: condition loading and parsing zaaarf2024-01-07-11/+14
| | | | Co-authored-by: Hop311 <Hop3114@gmail.com>
* Added pop properties (size changes, literacy) FarmingtonS92024-01-02-10/+12
|
* Added framework for loading all Conditions and Effects hop3112024-01-02-19/+179
|
* Change colour_t to be a strongly typed structure Spartan3222023-12-24-19/+10
| | | | | | | 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`
* Removed modifier generating macros. hop3112023-12-14-14/+15
|
* Made pop type strata moddable hop3112023-12-13-14/+76
|
* Province pop history + country government flag override refactors hop3112023-12-13-4/+55
|
* feat: implemented pop history loading zaaarf2023-12-10-28/+1
|
* feat: improved identifier registry macro zaaarf2023-12-10-22/+7
|
* Vec/set callbacks + crime file + prov building pos hop3112023-12-07-3/+1
|
* Crime+event modifier loading + misc UI backend hop3112023-12-02-28/+65
|
* 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-162/+28
|
* Misc changes hop3112023-11-16-24/+13
|
* Striped mapmode and improved distributions hop3112023-11-15-1/+1
|
* Cross-platform file lookup (case and separator) hop3112023-11-07-1/+1
|
* History loading changes + PROPERTY macro hop3112023-11-07-4/+4
|