aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader/NodeTools.hpp
Commit message (Collapse)AuthorAgeLines
* CountryInstance unlock tech, invention, crime, building, unit, gas etc. hop3112024-09-12-1/+17
|
* Load font colour codesfont-colour-codes hop3112024-08-04-1/+1
|
* Merge pull request #179 from OpenVicProject/bookmark-position Hop3112024-07-24-0/+7
|\ | | | | Load bookmark position as fvec2_t with height flipped
| * Load bookmark position as fvec2_t with height flippedbookmark-position hop3112024-07-24-0/+7
| |
* | Fleshing out Country, State and Province instances + historycountry-instance hop3112024-07-22-4/+3
|/
* Cleanup: inheritance, const movable variables, code formattingformat-cleanup hop3112024-07-19-1/+1
|
* Optimize some string interning casesoptimize/string-interning Spartan3222024-07-18-6/+7
|
* Use rvalue references for NodeToolsprefer/rvalue-refs Spartan3222024-07-17-69/+85
|
* Add IndexedMap and use in low key count, high value density casesindexed-map hop3112024-07-17-0/+21
|
* Update OpenVicProject/OpenVic-Dataloader@4a49007dryad zaaarf2024-07-07-1/+23
| | | | | Update .clang-format categories Move type_name and SelfType functioanlity to utility/Getters
* Province const/mutable separation + State cleanupconst-mutable hop3112024-06-06-2/+2
|
* Merge pull request #157 from OpenVicProject/pointer-opt Hop3112024-04-15-2/+10
|\ | | | | Add std::optional assign pointer callback with overwrite control
| * Add std::optional assign pointer callback with overwrite controlpointer-opt hop3112024-04-15-2/+10
| |
* | Rework province position loading and map dims hop3112024-04-15-0/+19
|/
* Reworked ReturnByValue, warn_or_error, expect_date_[identifier_or_]string hop3112024-02-04-18/+12
|
* Added StringMapCase and case insensitive expect_dictionary_keyscase-rework hop3112024-01-25-48/+135
|
* Added reserve_more, expect_dictionary_key[s|_map]_reserve_length[_and_default]reserve_more hop3112024-01-23-15/+42
|
* Miscellaneous bug fixes and format cleanupmisc-changes hop3112024-01-22-5/+5
|
* Parse missing variables, Logger counting, misc cleanup hop3112024-01-18-15/+28
|
* Added map_callback and expect_item_dictionary_reserve_length hop3112024-01-08-10/+37
|
* feat: condition loading and parsing zaaarf2024-01-07-3/+8
| | | | Co-authored-by: Hop311 <Hop3114@gmail.com>
* Added case insensitive ordered set and map and IdentifierRegistry hop3112024-01-03-2/+2
|
* Added framework for loading all Conditions and Effects hop3112024-01-02-4/+3
|
* Add `https://github.com/Tessil/ordered-map` Spartan3222023-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
* Change colour_t to be a strongly typed structure Spartan3222023-12-24-1/+3
| | | | | | | 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: added missing country history keys (except decisions) zaaarf2023-12-10-2/+1
|
* Vec/set callbacks + crime file + prov building pos hop3112023-12-07-0/+30
|
* GUI and GFX file loading hop3112023-11-12-6/+7
|
* History loading generalisation hop3112023-11-07-0/+9
|
* History loading changes + PROPERTY macro hop3112023-11-07-10/+3
|
* Clang-format formatting (with manual cleanup) hop3112023-10-29-33/+34
|
* Astyle formatting (with manual cleanup) hop3112023-10-29-14/+36
|
* Country History & Order of Battle Loading Joel Machens2023-10-25-10/+7
|
* Separated node->string and string->value parsing hop3112023-10-20-0/+2
|
* Minor cleanup hop3112023-10-20-1/+5
|
* Change some NodeTools functions to return Callback concepts Spartan3222023-10-17-18/+60
|
* allow_empty option for expect_identifier_or_string hop3112023-10-15-1/+1
|
* TGC compatibility fixes + other cleanup hop3112023-10-13-6/+12
|
* Lots of accumulated changes hop3112023-10-12-57/+94
|
* Data types, defaults, callback cleanup Hop3112023-09-29-7/+10
|
* Removed unnecessary `const std::string_view`s Hop3112023-09-28-5/+5
|
* Expect modifier value + keys function Hop3112023-09-26-5/+5
|
* Testing (#23) CptAlanSmith2023-09-23-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Various fixes, refactors and general cleanup Hop3112023-09-23-0/+23
|
* Province adjacency scaffolding Hop3112023-09-18-0/+8
|
* Futher scaffolding for province positions loading Hop3112023-09-17-17/+18
|
* Scaffolding for `positions.txt` + modifier loading Hop3112023-09-16-0/+1
|
* Format cleanup and req comments Hop3112023-09-09-4/+4
|
* More refactoring and duplicate code removal Hop3112023-09-08-0/+164