aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/misc/Event.cpp
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2023-12-11 12:40:24 +0100
committer wvpm <24685035+wvpm@users.noreply.github.com>2023-12-11 16:44:40 +0100
commitdd0a5f17ff07d8adc0a1fc43da3910da1bb3394f (patch)
treea56fd1472edefb5c2599a7e9e6fb633a30991a87 /src/openvic-simulation/misc/Event.cpp
parent6b9cf7f9dff1570b10a0a0f988e1b1ef418d0243 (diff)
Calculate and assign province centers
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
Diffstat (limited to 'src/openvic-simulation/misc/Event.cpp')
0 files changed, 0 insertions, 0 deletions