summaryrefslogtreecommitdiff
path: root/Player.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-11-05 04:16:32 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2017-11-05 04:16:32 +0100
commit2cf2d608af862e812e7fd3ac580f869141a96fa7 (patch)
tree29a356a46635e4bc14e9e7342eb5a41defcab899 /Player.h
parentb764612a79100271270012053bdb1e4302cd93b7 (diff)
downloadpocketempires-2cf2d608af862e812e7fd3ac580f869141a96fa7.tar.gz
+ Added copy of BitmapEncoder
+ New sprite and unit "Town center" * Provisional collision checking. * Many other modifications.
Diffstat (limited to 'Player.h')
-rw-r--r--Player.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Player.h b/Player.h
index 36b5e94..07101ed 100644
--- a/Player.h
+++ b/Player.h
@@ -61,6 +61,9 @@ class Player
// Camera handling
TYPE_CAMERA Camera;
+ // Map rendering
+ void RenderMap(void);
+
// Button pressed/released events
void ButtonLeftReleased(void);
void ButtonRightReleased(void);
@@ -85,10 +88,12 @@ class Player
bool showActionsMenu;
uint8_t showActionsMenu_counter;
uint8_t showActionsMenu_index;
+ uint8_t showActionsMenu_counterLevel1;
void IncreaseShowActionsMenuIndex();
// Action callbacks
- void ActionCreateUnit (TYPE_UNIT* ptrUnit);
+ void ActionCreateUnit(TYPE_UNIT* ptrUnit, TYPE_UNIT_ID unit);
+ void ActionCreateBuilding(TYPE_UNIT* ptrUnit, TYPE_UNIT_ID bldg);
};
#endif // __cplusplus