1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

add global macros for map size and tile loop

This commit is contained in:
Ted John
2016-04-24 14:00:26 +01:00
parent 5ccbf08ac9
commit 0f6e64ac76
14 changed files with 117 additions and 104 deletions

View File

@@ -1125,7 +1125,7 @@ void Network::AdvertiseHeartbeat()
json_object_set_new(body, "players", json_integer(network_get_num_players()));
json_t *gameInfo = json_object();
json_object_set_new(gameInfo, "mapSize", json_integer(RCT2_GLOBAL(RCT2_ADDRESS_MAP_SIZE_MINUS_2, sint16)));
json_object_set_new(gameInfo, "mapSize", json_integer(gMapSizeMinus2));
json_object_set_new(gameInfo, "day", json_integer(gDateMonthTicks));
json_object_set_new(gameInfo, "month", json_integer(gDateMonthsElapsed));
json_object_set_new(gameInfo, "guests", json_integer(gNumGuestsInPark));