summaryrefslogtreecommitdiff
path: root/Player.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-11-10 00:04:35 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2017-11-10 00:04:35 +0100
commitd85464781580796bbcc744ae732e56d1920e3b0f (patch)
treeac0939ebae1e1fe9afb8060ad2329c52bcab00ad /Player.h
parent7b05778e3ef8ef01a4bb15a6ed6fde5b329a8c9b (diff)
downloadpocketempires-d85464781580796bbcc744ae732e56d1920e3b0f.tar.gz
Kinda improved pathfinding algorithm. Still some work TODO.
Fixed some errors in DEBUG_VAR macro. Shadows are now drawn before any other object. Different strings are now shown depending on the number of selected units. Some work on calculating actions mask when different types of units are selected. Still some work TODO.
Diffstat (limited to 'Player.h')
-rw-r--r--Player.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Player.h b/Player.h
index 514386f..cade879 100644
--- a/Player.h
+++ b/Player.h
@@ -78,6 +78,7 @@ class Player
void showHealth(uint8_t hp);
void ButtonHandler(void);
void ActionsMenu(void);
+ void MenuDrawHandler(void);
TYPE_COLLISION_BLOCK GetCursorPos(void);
// Unit selection
@@ -93,7 +94,7 @@ class Player
void IncreaseShowActionsMenuIndex();
// Action callbacks
- void ActionCreateUnit(TYPE_UNIT* ptrUnit, TYPE_UNIT_ID unit);
+ void ActionCreateUnit(TYPE_UNIT *ptrUnit, TYPE_UNIT_ID unit);
void ActionCreateBuilding(TYPE_UNIT_ID bldg);
// Collision detection