summaryrefslogtreecommitdiff
path: root/players.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 03:12:30 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 03:12:30 +0100
commit8dea50c02d5b04221488fb8d4b0719e373e7f9d0 (patch)
treea6c92a44d2bbc5c2555c11c0f54b3f4a58fc4036 /players.h
parentc68227406beb7bc74a4179fb1b1b70bbeb6ad4a2 (diff)
added the cursor and its position to a character
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'players.h')
-rw-r--r--players.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/players.h b/players.h
index 4b730f8..039f53e 100644
--- a/players.h
+++ b/players.h
@@ -25,9 +25,12 @@ struct character_t {
SDL_Surface *surf;
+ SDL_Surface *curs;
+
SDL_Rect pos;
SDL_Rect pos_hp;
SDL_Rect pos_mp;
+ SDL_Rect pos_curs;
bool alive;