Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Calculate and assign province centers | wvpm | 2023-12-11 | -21/+51 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed generate_and_load_province_adjacencies to initialize_province_adjacencies_and_center Calculate and assign province centers Ignore null index and substract 1 Moved province center calculation to load_map_images Revert "Renamed generate_and_load_province_adjacencies to initialize_province_adjacencies_and_center" This reverts commit 8b75bb8f1ea79e883b97987a3a85e254fa3e714b. Remove 0 as vector initial values. Revert "Wait for key to close headless" This reverts commit c7a4956de520a8c3ec53c3b68440b7056f9f5dd6. Use idx instead of province.index -1 Use array_index instead of pixel_index to identify province. Unindent set_terrain Reverted changes in _generate_province_adjacencies Move province center code out of set_terrain Divide by zero check Move province center logic back into set_terrain | ||||
* | feat: improved identifier registry macro | zaaarf | 2023-12-10 | -27/+7 | |
| | |||||
* | Meta regions being used to make states fix | hop311 | 2023-12-08 | -9/+10 | |
| | |||||
* | Vec/set callbacks + crime file + prov building pos | hop311 | 2023-12-07 | -35/+100 | |
| | |||||
* | Merge pull request #79 from OpenVicProject/states | BrickPi | 2023-12-05 | -2/+144 | |
|\ | |||||
| * | States First Pass | Joel Machens | 2023-11-28 | -2/+139 | |
| | | |||||
* | | Crime+event modifier loading + misc UI backend | hop311 | 2023-12-02 | -19/+5 | |
| | | |||||
* | | feat: replaced REF_GETTERS with PROPERTY_REF, added PROPERTY_CUSTOM_PREFIX | zaaarf | 2023-12-01 | -2/+1 | |
|/ | |||||
* | chore: use PROPERTY and its variants when possible | zaaarf | 2023-11-22 | -44/+8 | |
| | |||||
* | Misc changes | hop311 | 2023-11-16 | -7/+7 | |
| | |||||
* | Bookmark loading + province and building cleanup | hop311 | 2023-11-15 | -176/+131 | |
| | |||||
* | Striped mapmode and improved distributions | hop311 | 2023-11-15 | -31/+42 | |
| | |||||
* | Merge pull request #71 from OpenVicProject/gui-loading | Hop311 | 2023-11-13 | -1/+3 | |
|\ | | | | | GUI and GFX file loading | ||||
| * | GUI and GFX file loading | hop311 | 2023-11-12 | -1/+3 | |
| | | |||||
* | | Added CountryInstance & Country History Apply Func | Joel Machens | 2023-11-13 | -1/+1 | |
|/ | |||||
* | Apply Province Histories | BrickPi | 2023-11-12 | -0/+68 | |
| | |||||
* | Cross-platform file lookup (case and separator) | hop311 | 2023-11-07 | -23/+20 | |
| | |||||
* | History loading changes + PROPERTY macro | hop311 | 2023-11-07 | -3/+11 | |
| | |||||
* | Stop passing Dates by reference | hop311 | 2023-11-07 | -8/+8 | |
| | |||||
* | Clang-format formatting (with manual cleanup) | hop311 | 2023-10-29 | -77/+97 | |
| | |||||
* | Astyle formatting (with manual cleanup) | hop311 | 2023-10-29 | -33/+71 | |
| | |||||
* | Separated node->string and string->value parsing | hop311 | 2023-10-20 | -1/+1 | |
| | |||||
* | Minor cleanup | hop311 | 2023-10-20 | -10/+1 | |
| | |||||
* | Further CLI and modifier reading work | hop311 | 2023-10-14 | -3/+9 | |
| | |||||
* | TGC compatibility fixes + other cleanup | hop311 | 2023-10-13 | -10/+12 | |
| | |||||
* | Further cleanup and rearrangement | hop311 | 2023-10-13 | -470/+3 | |
| | |||||
* | Lots of accumulated changes | hop311 | 2023-10-12 | -83/+63 | |
| | |||||
* | Refactor Callbacks | Joel Machens | 2023-10-03 | -49/+19 | |
| | |||||
* | Fix positions.txt Edge Cases | Joel Machens | 2023-10-03 | -3/+7 | |
| | |||||
* | Implement positions.txt Loading | Joel Machens | 2023-10-03 | -3/+71 | |
| | |||||
* | Data types, defaults, callback cleanup | Hop311 | 2023-09-29 | -58/+67 | |
| | |||||
* | Removed unnecessary `const std::string_view`s | Hop311 | 2023-09-28 | -28/+28 | |
| | |||||
* | feat: implemented building loading and missing parameters | zaaarf | 2023-09-28 | -35/+137 | |
| | |||||
* | feat: renamed Building to BuildingInstance, implemented Building and ↵ | zaaarf | 2023-09-28 | -98/+232 | |
| | | | | BuildingType defines | ||||
* | Expect modifier value + keys function | Hop311 | 2023-09-26 | -29/+4 | |
| | |||||
* | Added review comments | Hop311 | 2023-09-25 | -0/+4 | |
| | |||||
* | Calculate terrain types from pixels | Hop311 | 2023-09-25 | -15/+76 | |
| | |||||
* | Adding terrain image/type loading | Hop311 | 2023-09-25 | -120/+401 | |
| | |||||
* | Fixed pop type loading issue | Hop311 | 2023-09-24 | -1/+1 | |
| | |||||
* | Testing (#23) | CptAlanSmith | 2023-09-23 | -4/+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> | ||||
* | Various fixes, refactors and general cleanup | Hop311 | 2023-09-23 | -20/+20 | |
| | |||||
* | fix: various tweaks during review | zaaarf | 2023-09-19 | -23/+40 | |
| | |||||
* | fix: adjacency algorithm optimisiations and fixes | zaaarf | 2023-09-19 | -23/+19 | |
| | |||||
* | feat: make adjacency generator returns false if nothing changed | zaaarf | 2023-09-19 | -6/+10 | |
| | |||||
* | feat: implemented dumb basic algorithm for Map::_generate_province_adjacencies() | zaaarf | 2023-09-19 | -6/+30 | |
| | |||||
* | feat: added adjacency to provinces | zaaarf | 2023-09-19 | -0/+44 | |
| | |||||
* | Province adjacency scaffolding | Hop311 | 2023-09-18 | -84/+36 | |
| | |||||
* | Futher scaffolding for province positions loading | Hop311 | 2023-09-17 | -6/+6 | |
| | |||||
* | Scaffolding for `positions.txt` + modifier loading | Hop311 | 2023-09-16 | -1/+30 | |
| | |||||
* | First go at Modifiers | Hop311 | 2023-09-15 | -4/+1 | |
| |