aboutsummaryrefslogtreecommitdiff
path: root/Source/GameStructures.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-05-07 22:18:34 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-05-07 22:18:34 +0200
commit3a8f91466126c97427d7cf0c86c36581662981be (patch)
tree763561baaf30d64362acb612dd04b502275a99c0 /Source/GameStructures.h
parent6a90ed354fcf4871aa7ce1d0b599ff69787f1d5f (diff)
downloadairport-3a8f91466126c97427d7cf0c86c36581662981be.tar.gz
* Adjusted coordinates for aircraft list in 2 player mode.
* Added new "Id" parameter in TYPE_PLAYER structure. Not ideal, but needed nevertheless.
Diffstat (limited to 'Source/GameStructures.h')
-rw-r--r--Source/GameStructures.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/GameStructures.h b/Source/GameStructures.h
index 797fc91..355ec33 100644
--- a/Source/GameStructures.h
+++ b/Source/GameStructures.h
@@ -157,6 +157,8 @@ typedef struct
uint8_t WaypointIdx;
// Another internal index to keep last desired selected point by user when defining a path.
uint8_t LastWaypointIdx;
+ // Player ID (PLAYER_ONE = 0, PLAYER_TWO = 1)
+ uint8_t Id;
bool (*PadKeyPressed_Callback)(unsigned short);
bool (*PadKeyReleased_Callback)(unsigned short);