From 3de2130b6070bb9012d81e290fda452db42e069f Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Tue, 27 Nov 2018 00:26:41 +0100 Subject: TILE_TAXIWAY_CORNER_GRASS_3 added to accepted tiles list. Building edition is now supported on MapEditor! LEVEL2.LVL now has some buildings laying around. --- Source/Game.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'Source/Game.c') diff --git a/Source/Game.c b/Source/Game.c index ecaff3a..f36b99e 100644 --- a/Source/Game.c +++ b/Source/Game.c @@ -1519,15 +1519,6 @@ static void GameLoadLevel(const char* path) levelBuffer[k] |= (ptrBuffer[j] << 8); } } - - { - size_t i; - - for (i = 0; i < (GameLevelSize * sizeof (uint16_t)); i++) - { - Serial_printf("levelBuffer[%d] = 0x%02X\n", i, levelBuffer[i]); - } - } } /* ****************************************************************************************** @@ -3308,7 +3299,8 @@ bool GamePathToTile(TYPE_PLAYER* const ptrPlayer, TYPE_FLIGHT_DATA* const ptrFli TILE_TAXIWAY_4WAY_CROSSING, TILE_PARKING_2, TILE_RWY_HOLDING_POINT, - TILE_RWY_HOLDING_POINT_2 + TILE_RWY_HOLDING_POINT_2, + TILE_TAXIWAY_CORNER_GRASS_3 }; uint8_t i; @@ -3452,6 +3444,7 @@ bool GamePathToTile(TYPE_PLAYER* const ptrPlayer, TYPE_FLIGHT_DATA* const ptrFli TILE_PARKING_2 | TILE_MIRROR_FLAG, TILE_RWY_HOLDING_POINT | TILE_MIRROR_FLAG, TILE_RWY_HOLDING_POINT_2 | TILE_MIRROR_FLAG, + TILE_TAXIWAY_CORNER_GRASS_3 | TILE_MIRROR_FLAG }; if (SystemContains_u8( levelBuffer[ptrPlayer->Waypoints[i]], -- cgit v1.2.3