Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Load defines directly into named and typed variables rather than using an ↵defines-variables | hop311 | 2024-10-31 | -6/+8 |
| | | | | IdentifierRegistry | |||
* | Implement rgo for new gameprepare_for_rgo | wvpm | 2024-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 | |||
* | Provinces contribute modifiers to controller, not ownerprovinces_contribute_to_controller_not_owner | wvpm | 2024-10-28 | -1/+1 |
| | ||||
* | contextual modifier parsingcontextual_modifier_parsing | wvpm | 2024-10-26 | -10/+10 |
| | ||||
* | Switch to excluding given modifier effect targets rather than using a ↵ | hop311 | 2024-10-19 | -3/+1 |
| | | | | positive filter | |||
* | Move ModifierManager to its own files | hop311 | 2024-10-19 | -0/+4 |
| | ||||
* | Add alternative modifier calculation (keeping country modifiers out of their ↵ | hop311 | 2024-10-06 | -11/+33 |
| | | | | owned provinces' modifier sums) | |||
* | Add supply_consumption and mobilization_impact modifier effect check examples | hop311 | 2024-10-05 | -11/+27 |
| | ||||
* | Calculate country and province resultant modifier sums | hop311 | 2024-10-05 | -60/+178 |
| | ||||
* | Added support for remove_culture custom instructionremove-culture | zaaarf | 2024-09-27 | -3/+7 |
| | ||||
* | Country reforms and rulescountry-unlock | hop311 | 2024-09-12 | -30/+83 |
| | ||||
* | CountryInstance unlock tech, invention, crime, building, unit, gas etc. | hop311 | 2024-09-12 | -36/+401 |
| | ||||
* | Calculate country military power (still needs modifiers + soldier pop ↵ranking | hop311 | 2024-09-09 | -18/+182 |
| | | | | supported regiment count) | |||
* | Calculate country industrial power (states still need factory data) | hop311 | 2024-09-08 | -47/+103 |
| | ||||
* | Add country ranking system + great/secondary powers | hop311 | 2024-09-08 | -27/+212 |
| | ||||
* | Load government flag overrides from history and apply themgov-flag-type | hop311 | 2024-08-30 | -4/+26 |
| | ||||
* | Fleshing out Country, State and Province instances + historycountry-instance | hop311 | 2024-07-22 | -66/+414 |
| | ||||
* | Merge pull request #176 from OpenVicProject/format-cleanup | Hop311 | 2024-07-19 | -1/+1 |
|\ | | | | | Cleanup: inheritance, const movable variables, code formatting | |||
| * | Cleanup: inheritance, const movable variables, code formattingformat-cleanup | hop311 | 2024-07-19 | -1/+1 |
| | | ||||
* | | Unit position/country/leader handling + more use of unit branch templatesunit-work | hop311 | 2024-07-19 | -72/+53 |
|/ | ||||
* | Add IndexedMap and use in low key count, high value density casesindexed-map | hop311 | 2024-07-17 | -32/+61 |
| | ||||
* | Unit and leader rework (branch based templates and colony containers)unit-colonies | hop311 | 2024-07-14 | -3/+105 |
| | ||||
* | Renamed Country to CountryDefinitioncountry-definition | hop311 | 2024-06-20 | -47/+62 |
| | ||||
* | Separated GameManager into Definition and Instance Managersinstance-definition-managers | hop311 | 2024-06-13 | -16/+17 |
| | ||||
* | Separated MapDefinition and MapInstancemap-instance | hop311 | 2024-06-07 | -4/+8 |
| | ||||
* | Province const/mutable separation + State cleanupconst-mutable | hop311 | 2024-06-06 | -6/+25 |
| | ||||
* | Menu reqs: country index, flag type set, province set total populationmenu-reqs | hop311 | 2024-04-19 | -7/+9 |
| | ||||
* | Add default country unit coloursgfx-actor | hop311 | 2024-04-15 | -9/+9 |
| | ||||
* | Generate starting unit instancesunits | hop311 | 2024-04-15 | -24/+101 |
| | ||||
* | Add Issue/Reform/Party colours + improve loading | hop311 | 2024-03-20 | -25/+17 |
| | ||||
* | feat: unit instance type definition, renamed existing structs for consistencymilitary-units | zaaarf | 2024-03-16 | -4/+4 |
| | ||||
* | Added country unit colour loading | BetterBite | 2024-02-15 | -11/+45 |
| | | | | | | | | | | | | | | 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 map_callback and expect_item_dictionary_reserve_length | hop311 | 2024-01-08 | -28/+9 |
| | ||||
* | Added framework for loading all Conditions and Effects | hop311 | 2024-01-02 | -1/+1 |
| | ||||
* | Add `https://github.com/Tessil/ordered-map` | Spartan322 | 2023-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 | |||
* | Change colour_t to be a strongly typed structure | Spartan322 | 2023-12-24 | -5/+1 |
| | | | | | | | 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` | |||
* | feat: improved identifier registry macro | zaaarf | 2023-12-10 | -9/+2 |
| | ||||
* | feat: added missing country history keys (except decisions) | zaaarf | 2023-12-10 | -1/+1 |
| | ||||
* | Crime+event modifier loading + misc UI backend | hop311 | 2023-12-02 | -0/+2 |
| | ||||
* | feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX | zaaarf | 2023-12-01 | -1/+1 |
| | ||||
* | chore: use PROPERTY and its variants when possible | zaaarf | 2023-11-22 | -50/+8 |
| | ||||
* | Misc changes | hop311 | 2023-11-16 | -84/+84 |
| | ||||
* | Bookmark loading + province and building cleanup | hop311 | 2023-11-15 | -1/+1 |
| | ||||
* | Striped mapmode and improved distributions | hop311 | 2023-11-15 | -1/+1 |
| | ||||
* | Added CountryInstance & Country History Apply Func | Joel Machens | 2023-11-13 | -0/+119 |
| | ||||
* | Apply Province Histories | BrickPi | 2023-11-12 | -1/+0 |
| | ||||
* | Cross-platform file lookup (case and separator) | hop311 | 2023-11-07 | -9/+14 |
| | ||||
* | History loading changes + PROPERTY macro | hop311 | 2023-11-07 | -23/+22 |
| | ||||
* | Stop passing Dates by reference | hop311 | 2023-11-07 | -4/+4 |
| | ||||
* | Country: datatypes + TGC compat changes | hop311 | 2023-11-07 | -162/+205 |
| |