aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation
Commit message (Collapse)AuthorAgeLines
...
* Changed return types to std::string_view hop3112023-10-13-27/+35
|
* Further cleanup and rearrangement hop3112023-10-13-178/+162
|
* Lots of accumulated changes hop3112023-10-12-491/+634
|
* Add static `Dataloader::search_for_game_path(fs::path)` Spartan3222023-10-12-0/+555
| | | | | | | | | | | Searches for Victoria 2 according to the supplied path If supplied path is empty, presumes Steam install according to platform environment variables If invalid supplied path, falls back to empty path behavior Supports Steam install on Windows, Mac, Linux, and FreeBSD Supports Windows registry Update .clang-format categories to include lexy-vdf Add Utility/ConstexprIntToStr.hpp
* Expose `Dataloader::parse_defines` Spartan3222023-10-10-21/+27
| | | | Expose `Dataloader::parse_csv`
* Fix Data Types Joel Machens2023-10-04-21/+29
|
* Fix Extraneous Callback BrickPi2023-10-03-7/+3
|
* Add Requirements BrickPi2023-10-03-0/+1
|
* Finish Government Type Loading BrickPi2023-10-03-8/+9
|
* Initial Government Type Loading Joel Machens2023-10-03-6/+160
|
* Refactor Callbacks Joel Machens2023-10-03-49/+19
|
* Fix positions.txt Edge Cases Joel Machens2023-10-03-3/+7
|
* Implement positions.txt Loading Joel Machens2023-10-03-3/+71
|
* Data types, defaults, callback cleanup Hop3112023-09-29-179/+227
|
* Removed unnecessary `const std::string_view`s Hop3112023-09-28-141/+141
|
* Abstracted out a general test method to TestScript CptAlanSmith2023-09-28-7/+18
|
* Refactoring/tidying CptAlanSmith2023-09-28-43/+24
|
* Economy test finish CptAlanSmith2023-09-28-1/+4
|
* feat: implemented building loading and missing parameters zaaarf2023-09-28-51/+161
|
* feat: renamed Building to BuildingInstance, implemented Building and ↵ zaaarf2023-09-28-110/+236
| | | | BuildingType defines
* fix: use timespan for unit build time zaaarf2023-09-28-7/+10
|
* Fixed point to_string rounding Hop3112023-09-26-9/+24
|
* Expect modifier value + keys function Hop3112023-09-26-119/+130
|
* Merge pull request #33 from OpenVicProject/terrain-types CptAlanSmith2023-09-25-168/+654
|\ | | | | Terrain types
| * Added review comments Hop3112023-09-25-2/+7
| |
| * Calculate terrain types from pixels Hop3112023-09-25-26/+97
| |
| * Adding terrain image/type loading Hop3112023-09-25-154/+564
| |
* | Testing (#28) CptAlanSmith2023-09-25-177/+304
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Dataloader stubs + default compat path + bits+bobs * Followup big dataloader commit * Fixes for building scons * Initial proof of concept auto-testing Shows how we can pull loaded data and display it back * data-loader include * 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 * Update of file tests * Test scripting updates - elimnination of issues with data variables hanging over from big merges Routed gamemanager down to scripts on execute * Update StringUtils.hpp * Initial pipeline building * Pipe fabrication * Continued work on goods testing, removal of pragma once lines * Finish of economy tests, initial results outputting * Output of results * Removal of direct.h for cross compatibility --------- Co-authored-by: Hop311 <hop3114@gmail.com>
* Merge pull request #32 from OpenVicProject/fixed-point-fix Hop3112023-09-24-1/+1
|\ | | | | Stopped fixed point falling for Zeno's paradox
| * Stopped fixed point falling for Zeno's paradox Hop3112023-09-24-1/+1
| |
* | fix: fixed multiple compile-time warnings zaaarf2023-09-24-18/+24
|/
* fix: fixed segfault, added ulterior checks) zaaarf2023-09-24-26/+50
|
* feat: implemented template loading, fixed compilation errors zaaarf2023-09-24-61/+95
|
* feat: implemented ProductionType, implemented (broken) loading for it zaaarf2023-09-23-2/+353
|
* Fixed pop type loading issue Hop3112023-09-24-12/+19
|
* Testing (#23) CptAlanSmith2023-09-23-99/+1149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* feat: separated once more Issue and Reform zaaarf2023-09-23-89/+194
|
* chore: converted several types zaaarf2023-09-23-41/+41
|
* fix: various fixes, now runs and parses without military-related errors zaaarf2023-09-23-101/+94
|
* chore: removed hardcoded possible values on unit type zaaarf2023-09-22-16/+8
|
* feat: removed enum, passed goods manager zaaarf2023-09-22-76/+97
|
* feat: implemenet most of the unit loading function zaaarf2023-09-22-15/+103
|
* feat: created Unit struct zaaarf2023-09-21-0/+380
| | | | this looks horrid but what can you do
* feat: added expect_goods_map function to GoodsManager zaaarf2023-09-20-0/+22
|
* Various fixes, refactors and general cleanup Hop3112023-09-23-89/+111
|
* Merge pull request #21 from OpenVicProject/dataloading-politics Hop3112023-09-23-3/+407
|\ | | | | Dataloading for politics (Ideology & Issue)
| * chore: added requirements zaaarf2023-09-20-0/+9
| |
| * feat: added issue loading! zaaarf2023-09-20-18/+88
| |
| * feat: merged PartyIssue and PoliticalReform into single Issue structure zaaarf2023-09-20-176/+168
| |
| * feat: ideology loading zaaarf2023-09-20-5/+61
| |