Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Implement rgo for new gameprepare_for_rgo | wvpm | 7 days | -16/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||
* | Always apply pop historyalways_apply_pop_history | wvpm | 7 days | -6/+9 |
| | ||||
* | Provinces contribute modifiers to controller, not ownerprovinces_contribute_to_controller_not_owner | wvpm | 9 days | -2/+2 |
| | ||||
* | contextual modifier parsingcontextual_modifier_parsing | wvpm | 11 days | -26/+62 |
| | ||||
* | Require modifier type when parsing ModifierValues | hop311 | 2024-10-19 | -4/+25 |
| | ||||
* | Switch to excluding given modifier effect targets rather than using a ↵ | hop311 | 2024-10-19 | -2/+2 |
| | | | | positive filter | |||
* | Move ModifierManager to its own files | hop311 | 2024-10-19 | -0/+6 |
| | ||||
* | Add alternative modifier calculation (keeping country modifiers out of their ↵ | hop311 | 2024-10-06 | -3/+73 |
| | | | | owned provinces' modifier sums) | |||
* | Calculate country and province resultant modifier sums | hop311 | 2024-10-05 | -0/+81 |
| | ||||
* | Optimisationrivers | BrickPi | 2024-09-21 | -14/+31 |
| | ||||
* | Simulation Side Rivers | BrickPi | 2024-09-21 | -9/+220 |
| | ||||
* | Add modifier type enummodifier-types | hop311 | 2024-09-20 | -10/+44 |
| | ||||
* | Rearrange modifier files | hop311 | 2024-09-20 | -3/+3 |
| | ||||
* | CountryInstance unlock tech, invention, crime, building, unit, gas etc. | hop311 | 2024-09-12 | -1/+1 |
| | ||||
* | Calculate country military power (still needs modifiers + soldier pop ↵ranking | hop311 | 2024-09-09 | -11/+38 |
| | | | | supported regiment count) | |||
* | Calculate country industrial power (states still need factory data) | hop311 | 2024-09-08 | -29/+51 |
| | ||||
* | Remove unnecessary asserts + make `vec2_t(T val)` constructor explicitremove-asserts | hop311 | 2024-08-29 | -13/+23 |
| | ||||
* | Fleshing out Country, State and Province instances + historycountry-instance | hop311 | 2024-07-22 | -76/+226 |
| | ||||
* | Merge pull request #176 from OpenVicProject/format-cleanup | Hop311 | 2024-07-19 | -6/+8 |
|\ | | | | | Cleanup: inheritance, const movable variables, code formatting | |||
| * | Cleanup: inheritance, const movable variables, code formattingformat-cleanup | hop311 | 2024-07-19 | -6/+8 |
| | | ||||
* | | Unit position/country/leader handling + more use of unit branch templatesunit-work | hop311 | 2024-07-19 | -46/+22 |
|/ | ||||
* | Add IndexedMap and use in low key count, high value density casesindexed-map | hop311 | 2024-07-17 | -36/+36 |
| | ||||
* | Unit and leader rework (branch based templates and colony containers)unit-colonies | hop311 | 2024-07-14 | -3/+33 |
| | ||||
* | Use minimal PopBase for pop historypop-base | hop311 | 2024-06-27 | -7/+7 |
| | ||||
* | Renamed Country to CountryDefinitioncountry-definition | hop311 | 2024-06-20 | -20/+20 |
| | ||||
* | Separated GameManager into Definition and Instance Managersinstance-definition-managers | hop311 | 2024-06-13 | -31/+23 |
| | ||||
* | Add GoodInstancegood-instance | hop311 | 2024-06-08 | -11/+31 |
| | ||||
* | Separated MapDefinition and MapInstancemap-instance | hop311 | 2024-06-07 | -244/+306 |
| | ||||
* | Separated out MapmodeManager | hop311 | 2024-06-06 | -106/+342 |
| | ||||
* | Province const/mutable separation + State cleanupconst-mutable | hop311 | 2024-06-06 | -695/+924 |
| | ||||
* | Province text info functionsprovince-text | hop311 | 2024-04-24 | -6/+22 |
| | ||||
* | Menu reqs: country index, flag type set, province set total populationmenu-reqs | hop311 | 2024-04-19 | -8/+13 |
| | ||||
* | Province port adjacency calculationprovince-positions | hop311 | 2024-04-15 | -4/+32 |
| | ||||
* | Rework province position loading and map dims | hop311 | 2024-04-15 | -57/+106 |
| | ||||
* | Generate starting unit instancesunits | hop311 | 2024-04-15 | -2/+45 |
| | ||||
* | Add Pop attributes + generate test valuespop-menu | hop311 | 2024-03-20 | -5/+38 |
| | ||||
* | Regions are now coloured from colors.txtregion-colours | Arturo | 2024-02-22 | -7/+20 |
| | ||||
* | Reworked ReturnByValue, warn_or_error, expect_date_[identifier_or_]string | hop311 | 2024-02-04 | -1/+1 |
| | ||||
* | Added StringMapCase and case insensitive expect_dictionary_keyscase-rework | hop311 | 2024-01-25 | -3/+3 |
| | ||||
* | Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more | hop311 | 2024-01-23 | -71/+89 |
| | ||||
* | Added map_callback and expect_item_dictionary_reserve_length | hop311 | 2024-01-08 | -5/+5 |
| | ||||
* | Merge pull request #111 from OpenVicProject/conditions-checking | zaaarf | 2024-01-07 | -1/+1 |
|\ | | | | | Condition definition checking/loading | |||
| * | feat: condition loading and parsing | zaaarf | 2024-01-07 | -1/+1 |
| | | | | | | | | Co-authored-by: Hop311 <Hop3114@gmail.com> | |||
* | | More impassable adjacencies + WVPM mod fixes | hop311 | 2024-01-07 | -54/+54 |
|/ | ||||
* | Mutually exclusive rule groups + modded building rules | hop311 | 2024-01-03 | -1/+1 |
| | ||||
* | Merge pull request #114 from OpenVicProject/squared-roots | zaaarf | 2024-01-02 | -164/+177 |
|\ | | | | | Integer and fixed point squared roots | |||
| * | feat: calculate province distance using new sqrt functions | zaaarf | 2024-01-02 | -164/+177 |
| | | ||||
* | | Added framework for loading all Conditions and Effects | hop311 | 2024-01-02 | -10/+30 |
|/ | ||||
* | Add `https://github.com/Tessil/ordered-map` | Spartan322 | 2023-12-31 | -6/+9 |
| | | | | | | | | | | | 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 | |||
* | Clock refactor + misc small fixes | hop311 | 2023-12-28 | -8/+10 |
| |