summaryrefslogtreecommitdiff
path: root/Player.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-08-26 11:18:11 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-08-26 11:18:11 +0200
commite944ccbfc5df97da7e90a69d51c5534fa57322d0 (patch)
tree48dd3e8a81ced4396d1fac56108b9d9275cfc619 /Player.h
parent35937cb697b2d2fb7902a8473d6095816f602237 (diff)
parent54ea724c5d2f3a2c5bdf3cfe6f6807d43a5ae9d7 (diff)
downloadpocketempires-e944ccbfc5df97da7e90a69d51c5534fa57322d0.tar.gz
Merge branch 'master' of https://github.com/XaviDCR92/PocketEmpires
Diffstat (limited to 'Player.h')
-rw-r--r--Player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Player.h b/Player.h
index 6a4782c..bfc3d68 100644
--- a/Player.h
+++ b/Player.h
@@ -47,7 +47,10 @@ class Player
bool checkNewBuildingPosition(TYPE_COLLISION_BLOCK * cb);
void UnitBuildingSelection(void);
void showHealth(uint8_t hp);
+ void ButtonHandler(void);
+ void BuildingUnitActions(void);
TYPE_COLLISION_BLOCK GetCursorPos(void);
+
char name[PLAYER_NAME_LENGTH];
TYPE_UNIT units[PLAYER_MAX_UNITS];
TYPE_BUILDING buildings[PLAYER_MAX_BUILDINGS];
@@ -57,8 +60,10 @@ class Player
uint8_t unit_i;
uint8_t bldg_i;
bool human;
+ bool showUnitBuildingOptions;
TYPE_CAMERA Camera;
TYPE_RESOURCES Resources;
+ uint8_t progress_bar;
//Print _serial;
};