aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation
Commit message (Collapse)AuthorAgeLines
* feat: unit instance type definition, renamed existing structs for consistencymilitary-units zaaarf2024-03-16-253/+400
|
* Cleaned up tech loading and added tech lists for areastech-improvements hop3112024-03-02-37/+106
|
* Identifier string_view invalidation fix hop3112024-03-01-1/+9
|
* Merge pull request #148 from OpenVicProject/region-colours Arturo2024-02-22-11/+38
|\ | | | | Regions are now coloured from colors.txt
| * Regions are now coloured from colors.txtregion-colours Arturo2024-02-22-11/+38
| |
* | Add TextureSprite base class hop3112024-02-19-35/+48
| |
* | Fixed point rounding functions and sources cleanup hop3112024-02-19-75/+88
| |
* | Merge pull request #146 from BetterBite/master BetterBite2024-02-15-11/+52
|\ \ | |/ |/| Implemented loading of country unit colours
| * Added country unit colour loading BetterBite2024-02-15-11/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #125 from OpenVicProject/producer_types wvpm2024-02-06-0/+163
|\ \ | | | | | | Added producer types
| * | Added producer typesproducer_types wvpm2024-02-05-0/+163
| |/
* | Added support for loading all gui filesgui-loading hop3112024-02-04-72/+391
| |
* | Reworked ReturnByValue, warn_or_error, expect_date_[identifier_or_]string hop3112024-02-04-96/+124
|/
* Added StringMapCase and case insensitive expect_dictionary_keyscase-rework hop3112024-01-25-214/+253
|
* Merge pull request #139 from OpenVicProject/constexpr-date Hop3112024-01-24-284/+204
|\ | | | | Made Date constexpr so that PROPERTY getters can be constexpr
| * Made Date constexpr so that PROPERTY getters can be constexprconstexpr-date hop3112024-01-24-284/+204
| |
* | Reworked Units and added IdentifierPointerRegistryunit-rework hop3112024-01-23-276/+487
|/
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-346/+517
|
* Miscellaneous bug fixes and format cleanupmisc-changes hop3112024-01-22-50/+78
|
* Harmonize empty result behavior for `_search_for_game_path` Spartan3222024-01-19-13/+31
| | | | | | | Enables actually searching for game path Reports info or warning depending on why it fails Remove StringUtils.hpp include in Vic2PathSearch.cpp Add <cstdint> to StringUtils.hpp
* Merge pull request #119 from OpenVicProject/add/country-relations George L. Albany2024-01-19-50/+374
|\
| * Add skeleton CountryRelationManager Spartan3222024-01-18-50/+375
| | | | | | | | | | | | | | | | | | Change `DiplomaticAction::Argument` to refer to `CountryInstance*` instead of `Country*` Add `GameManager&` argument to `DiplomaticActionManager::setup_diplomatic_actions` Add some ErrorMacros, likely and unlikely macros and stringization macros (based on Godot's macros) Implement `increase_relations` DiplomaticAction commit function Implement `decrease_relations` DiplomaticAction commit function Fix include StringUtils.hpp errors
* | Merge pull request #131 from OpenVicProject/misc-changes Hop3112024-01-18-274/+739
|\ \ | | | | | | Parse missing variables, Logger counting, misc cleanup
| * | Parse missing variables, Logger counting, misc cleanup hop3112024-01-18-274/+739
| |/
* / Minor enum cleanup, changed string functions into stream overloads hop3112024-01-18-189/+205
|/
* <strata>_<need>_needs do have effect wvpm2024-01-14-5/+3
|
* Reworked UniqueKeyRegistry template params + added support for std::deque ↵ hop3112024-01-13-149/+243
| | | | storage
* Moved westernisation cost modifiers and added some to no effect wvpm2024-01-13-14/+9
|
* Case insensitive modifiers & added more wvpm2024-01-12-68/+92
|
* Added NationalFocus ModifierEffects + bool variables hop3112024-01-12-44/+43
|
* Improved validation of production types and renamed properties to be descriptive wvpm2024-01-10-112/+116
|
* Added map_callback and expect_item_dictionary_reserve_length hop3112024-01-08-318/+428
|
* Merge pull request #111 from OpenVicProject/conditions-checking zaaarf2024-01-07-119/+1177
|\ | | | | Condition definition checking/loading
| * feat: condition loading and parsing zaaarf2024-01-07-119/+1177
| | | | | | | | Co-authored-by: Hop311 <Hop3114@gmail.com>
* | More impassable adjacencies + WVPM mod fixes hop3112024-01-07-65/+65
| |
* | Reparations & optional end date wvpm2024-01-07-58/+153
| |
* | Support culture restrictions for units wvpm2024-01-07-6/+19
|/ | | | Style
* Added case insensitive ordered set and map and IdentifierRegistry hop3112024-01-03-45/+139
|
* Added expect_item_dictionary_and_default hop3112024-01-03-21/+44
|
* Merge pull request #116 from OpenVicProject/rule-rework Hop3112024-01-03-99/+237
|\ | | | | Mutually exclusive rule groups + modded building rules
| * Mutually exclusive rule groups + modded building rules hop3112024-01-03-99/+237
| |
* | Merge pull request #101 from ↵ George L. Albany2024-01-03-0/+473
|\ \ | |/ |/| | | OpenVicProject/spooky-scary-skeletons-send-diplo-down-your-spine
| * Add diplomatic actions skeleton Spartan3222024-01-03-0/+473
| | | | | | | | | | | | Add AnyRef for cheap "move only" reference Add FunctionRef for cheap "move only" function reference Based on https://github.com/think-cell/think-cell-library/blob/main/tc/base/ref.h
* | Added pop properties (size changes, literacy) FarmingtonS92024-01-02-10/+12
| |
* | Merge pull request #114 from OpenVicProject/squared-roots zaaarf2024-01-02-166/+210
|\ \ | | | | | | Integer and fixed point squared roots
| * | feat: calculate province distance using new sqrt functions zaaarf2024-01-02-164/+177
| | |
| * | feat: integer and fixed point square root functions zaaarf2024-01-02-2/+33
| |/
* / Added framework for loading all Conditions and Effects hop3112024-01-02-511/+1390
|/
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-12-31-63/+376
| | | | | | | | | | | 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 hop3112023-12-28-162/+178
|