From 45d54652a8005ccae2466a0e4757017c7b337e3b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 21:43:18 +0100 Subject: use a team / character model instead of an array of personnages Signed-off-by: Olivier Gayot --- structures.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'structures.h') diff --git a/structures.h b/structures.h index 2679bfd..1339a5f 100644 --- a/structures.h +++ b/structures.h @@ -82,10 +82,9 @@ struct positions SDL_Rect Vpositionmap_item[15][11]; }; -typedef struct personnages PERSONNAGES; -struct personnages +typedef struct ally_t PERSONNAGES; +struct ally_t { - int classe; int nv; int pv; int pm; @@ -99,8 +98,8 @@ struct personnages int pminitiaux; }; -typedef struct ennemis ENNEMIS; -struct ennemis +typedef struct enemy_t ENNEMIS; +struct enemy_t { int classe; int pv; @@ -118,8 +117,8 @@ struct ennemis int pminitiaux; }; -typedef struct objets OBJET; -struct objets +typedef struct objects_t OBJET; +struct objects_t { int potions; int ethers; -- cgit v1.2.3