From 8d2e08d7448e6c3514a747c0dff5db5f27eb8788 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Wed, 24 May 2017 07:15:38 +0200 Subject: * Aircraft state was not being transferred ciclically from Game to Aircraft module. * Improved detection of target reaching for Aircraft.c. * Cursor is now displayed correctly on both 1-player and 2-player mode. * Fixed behaviour for locking/unlocking aircraft. * Fixed menus for 2-player mode. * Minor fixes and improvements. --- Source/Game.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Game.h') diff --git a/Source/Game.h b/Source/Game.h index 6e74aee..fb8c12c 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -44,7 +44,10 @@ uint8_t GameGetLastActiveAircraft(void); uint8_t GameGetLevelColumns(void); fix16_t GameGetXFromTile(uint16_t tile); fix16_t GameGetYFromTile(uint16_t tile); +short GameGetXFromTile_short(uint16_t tile); +short GameGetYFromTile_short(uint16_t tile); FL_STATE GameTargetsReached(uint8_t index); uint16_t GameGetTileFromIsoPosition(TYPE_ISOMETRIC_POS * IsoPos); +FL_STATE GameGetFlightDataStateFromIdx(uint8_t FlightDataIdx); #endif //__GAME_HEADER__ -- cgit v1.2.3