summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h13
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;