From 54ea724c5d2f3a2c5bdf3cfe6f6807d43a5ae9d7 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Sat, 26 Aug 2017 11:13:20 +0200 Subject: + Added MouseSpr and Unit modules. * Unit actions, building actions. --- Player.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Player.h') 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; }; -- cgit v1.2.3