summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 14:12:16 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 14:12:16 +0100
commite93ad2847791222937e26b57da5fd01a527d38cc (patch)
treede8bf2b5696b7198b5904e0ec78eec77b73de54b /structures.h
parent8f725a8b90feeca18198add9cea3ff88e495581d (diff)
Fix use of uninitialized variable in Fmenuchoixpersos
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/structures.h b/structures.h
index fdb2ecb..19d0a1e 100644
--- a/structures.h
+++ b/structures.h
@@ -12,9 +12,15 @@ struct surfaces
SDL_Surface *Pmenuoptions;
SDL_Surface *Pmenujouer;
SDL_Surface *Pmenuquitter;
+
+ /*
+ * the 3 following structures are actually an image of a menu with
+ * respectively the text "Paladin", "Pretre" or "Voleur" selected
+ */
SDL_Surface *Pchoixpaladin;
SDL_Surface *Pchoixpretre;
SDL_Surface *Pchoixvoleur;
+
SDL_Surface *Tperso[3];
SDL_Surface *Tennemi[5];
SDL_Surface *Ptextechoixmenu;