Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge pull request #116 from OpenVicProject/rule-rework | 2024-01-03 | -99/+237 | |
|\ | | | | | Mutually exclusive rule groups + modded building rules | |||
| * | Mutually exclusive rule groups + modded building rules | 2024-01-03 | -99/+237 | |
| | | ||||
* | | Merge pull request #101 from ↵ | 2024-01-03 | -0/+473 | |
|\ \ | |/ |/| | | | OpenVicProject/spooky-scary-skeletons-send-diplo-down-your-spine | |||
| * | Add diplomatic actions skeleton | 2024-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 | |||
* | | Merge pull request #115 from OpenVicProject/promotion-system | 2024-01-02 | -10/+12 | |
|\ \ | | | | | | | Added pop properties (size changes, literacy) | |||
| * | | Added pop properties (size changes, literacy) | 2024-01-02 | -10/+12 | |
|/ / | ||||
* | | Merge pull request #114 from OpenVicProject/squared-roots | 2024-01-02 | -166/+210 | |
|\ \ | | | | | | | Integer and fixed point squared roots | |||
| * | | feat: calculate province distance using new sqrt functions | 2024-01-02 | -164/+177 | |
| | | | ||||
| * | | feat: integer and fixed point square root functions | 2024-01-02 | -2/+33 | |
| |/ | ||||
* | | Merge pull request #112 from OpenVicProject/script-framework | 2024-01-02 | -512/+1391 | |
|\ \ | |/ |/| | Added framework for loading all Conditions and Effects | |||
| * | Added framework for loading all Conditions and Effects | 2024-01-02 | -512/+1391 | |
| | | ||||
* | | Merge pull request #113 from ↵ | 2024-01-02 | -1/+1 | |
|\ \ | |/ |/| | | | OpenVicProject/disable/unsupported-clang-format-option | |||
| * | Disable AllowShortCompoundRequirementOnASingleLine | 2024-01-02 | -1/+1 | |
|/ | | | | Clang 18 format options should be commented out for now because Clang 18 is not out | |||
* | Merge pull request #105 from OpenVicProject/add/ordered-map | 2024-01-01 | -67/+396 | |
|\ | ||||
| * | Add `https://github.com/Tessil/ordered-map` | 2023-12-31 | -67/+396 | |
|/ | | | | | | | | | | | 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 | |||
* | Merge pull request #110 from OpenVicProject/clock-refactor | 2023-12-28 | -164/+180 | |
|\ | | | | | Clock refactor + misc small fixes | |||
| * | Clock refactor + misc small fixes | 2023-12-28 | -164/+180 | |
|/ | ||||
* | Merge pull request #107 from OpenVicProject/dataloading-issues-reforms-modifiers | 2023-12-28 | -60/+108 | |
|\ | | | | | Dataloading Issue/Reform Modifiers and RuleSets | |||
| * | feat: rule and modifier loading for issues and reforms | 2023-12-28 | -60/+108 | |
| | | ||||
* | | Merge pull request #108 from OpenVicProject/dataloading-map-climate-continent | 2023-12-27 | -6/+131 | |
|\ \ | | | | | | | Dataloading climate and continents | |||
| * | | feat: loading climate.txt and continent.txt | 2023-12-27 | -6/+131 | |
|/ / | ||||
* | | Merge pull request #109 from OpenVicProject/const-province-set | 2023-12-27 | -113/+93 | |
|\ \ | |/ |/| | Made ProvinceSet use Province const* and updated Region loading | |||
| * | Made ProvinceSet use Province const* and updated Region loading | 2023-12-27 | -113/+93 | |
|/ | ||||
* | Merge pull request #106 from OpenVicProject/rules | 2023-12-27 | -1/+204 | |
|\ | | | | | Added political/policy rules | |||
| * | Added political/policy rules | 2023-12-26 | -1/+204 | |
|/ | ||||
* | Merge pull request #103 from OpenVicProject/province-buildings | 2023-12-25 | -36/+86 | |
|\ | | | | | Province building scaffolding | |||
| * | Province building scaffolding | 2023-12-25 | -36/+86 | |
| | | ||||
* | | Merge pull request #104 from OpenVicProject/fix/bmp | 2023-12-25 | -5/+9 | |
|\ \ | |/ |/| | Add `BMP::palette_colour_t` as uint32_t | |||
| * | Add `BMP::palette_colour_t` as uint32_t | 2023-12-25 | -5/+9 | |
|/ | | | | | | Change `BMP::palette` to `std::vector<palette_colour_t>` Change `BMP::PALETTE_COLOUR_SIZE` to use `sizeof(palette_colour_t)` Silence warning for `header.num_colours - 1 >> header.bits_per_pixel == 0` | |||
* | Merge pull request #100 from OpenVicProject/change/colour_t_to_struct | 2023-12-24 | -241/+618 | |
|\ | ||||
| * | Change colour_t to be a strongly typed structure | 2023-12-24 | -241/+618 | |
| | | | | | | | | | | | | | | 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` | |||
* | | Merge pull request #102 from OpenVicProject/tgc-compat | 2023-12-24 | -91/+145 | |
|\ \ | |/ |/| | Fixed TGC compatibility + misc cleanup | |||
| * | Fixed TGC compatibility + misc cleanup | 2023-12-23 | -91/+145 | |
|/ | ||||
* | Merge pull request #98 from OpenVicProject/additional-adjacencies | 2023-12-17 | -158/+476 | |
|\ | | | | | Additional adjacency loading | |||
| * | Additional adjacency loading | 2023-12-17 | -158/+476 | |
|/ | ||||
* | Merge pull request #92 from OpenVicProject/dataloading-onactions | 2023-12-14 | -0/+65 | |
|\ | | | | | on_action dataloading | |||
| * | feat: on_action dataloading | 2023-12-14 | -0/+65 | |
| | | ||||
* | | Merge pull request #97 from OpenVicProject/moddable-strata | 2023-12-14 | -116/+173 | |
|\ \ | | | | | | | Made pop type strata moddable | |||
| * | | Removed modifier generating macros. | 2023-12-14 | -87/+98 | |
| | | | ||||
| * | | Made pop type strata moddable | 2023-12-13 | -43/+89 | |
|/ / | ||||
* | | Merge pull request #96 from OpenVicProject/calculate_distances | 2023-12-13 | -7/+25 | |
|\ \ | | | | | | | Calculate distance between adjacencies | |||
| * | | Calculate distance between adjacencies | 2023-12-13 | -7/+25 | |
|/ / | ||||
* | | Merge pull request #89 from OpenVicProject/dataloading-pop-history | 2023-12-13 | -108/+311 | |
|\ \ | | | | | | | Pop History Loading (with the new system) | |||
| * | | Province pop history + country government flag override refactors | 2023-12-13 | -131/+307 | |
| | | | ||||
| * | | feat: completed country history loading | 2023-12-11 | -16/+23 | |
| | | | ||||
| * | | feat: implemented pop history loading | 2023-12-10 | -53/+73 | |
| |/ | ||||
* | | Merge pull request #95 from OpenVicProject/calculate_province_center | 2023-12-11 | -21/+51 | |
|\ \ | | | | | | | Calculate province center | |||
| * | | Calculate and assign province centers | 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 | |||
* | | Merge pull request #94 from OpenVicProject/update-dataloader | 2023-12-11 | -25/+0 | |
|\ \ | |/ |/| | Update dataloader submodule to fix MSVC bug + remove unused scripts | |||
| * | Update dataloader submodule to fix MSVC bug + remove unused scripts | 2023-12-11 | -25/+0 | |
|/ |