diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 21:43:18 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 23:29:49 +0100 |
commit | 45d54652a8005ccae2466a0e4757017c7b337e3b (patch) | |
tree | 5d13f930c82edeea16d490c39017973e0a85007c /structures.h | |
parent | b3295086c84b09353d5e89c6f7c743167b486a49 (diff) |
use a team / character model instead of an array of personnages
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'structures.h')
-rw-r--r-- | structures.h | 13 |
1 files changed, 6 insertions, 7 deletions
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; |