aboutsummaryrefslogtreecommitdiff
path: root/src/headless/main.cpp
Commit message (Collapse)AuthorAgeLines
* Implement rgo for new gameprepare_for_rgo wvpm7 days-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add country ranking system + great/secondary powers hop3112024-09-08-0/+28
|
* Trigger gamestate update in headless mode + add `update_clock` functionsupdate-clock hop3112024-09-06-0/+3
|
* Music and Sound Effect define loadingsim_music Nemrav2024-08-03-1/+1
| | | | | | | | sound and music pr feedback more sound and music style fixes check lookup path
* Fleshing out Country, State and Province instances + historycountry-instance hop3112024-07-22-0/+9
|
* Separated GameManager into Definition and Instance Managersinstance-definition-managers hop3112024-06-13-28/+8
|
* Separated out MapmodeManager hop3112024-06-06-4/+0
|
* Parse missing variables, Logger counting, misc cleanup hop3112024-01-18-2/+6
|
* Added framework for loading all Conditions and Effects hop3112024-01-02-1/+1
|
* Clock refactor + misc small fixes hop3112023-12-28-1/+1
|
* Cross-platform file lookup (case and separator) hop3112023-11-07-1/+1
|
* Clang-format formatting (with manual cleanup) hop3112023-10-29-2/+2
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-3/+5
|
* Further CLI and modifier reading work hop3112023-10-14-43/+37
|
* TGC compatibility fixes + other cleanup hop3112023-10-13-30/+90
|
* Expect modifier value + keys function Hop3112023-09-26-1/+1
|
* Testing (#28) CptAlanSmith2023-09-25-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Testing (#23) CptAlanSmith2023-09-23-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Region + localisation loading Hop3112023-09-14-0/+8
|
* Format cleanup and req comments Hop3112023-09-09-1/+2
|
* PR feedback + Logger::warning Hop3112023-09-09-3/+4
|
* More refactoring and duplicate code removal Hop3112023-09-08-7/+4
|
* Remove return_t, use & instead of if(x != SUCCESS) Hop3112023-09-08-11/+11
|
* Followup big dataloader commit Hop3112023-09-03-16/+37
|
* Big Dataloader Commit (openvic-simulation) Hop3112023-08-24-15/+49
|
* Rough draft of compiling headless simulation ClarkeCode2023-06-18-0/+22