summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 18:51:13 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 18:51:13 +0100
commitc6f994c51f29770be493ac3aaf76f71fccc4269f (patch)
treef791d2ba9867eb9752a654aa9a20ec61a66c30e7 /structures.h
parent27163e11f31ef3b0c2bc97a09da5b7671d29f06a (diff)
add new pointers to screen and background
make the old ones (Pfondjeu and Pecran) deprecated but keep them so the code continues working properly. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/structures.h b/structures.h
index fa7e5c0..f3cb306 100644
--- a/structures.h
+++ b/structures.h
@@ -6,7 +6,8 @@
typedef struct surfaces SURFACES;
struct surfaces
{
- SDL_Surface *Pecran;
+ SDL_Surface *Pecran; /* deprecated */
+ SDL_Surface *screen;
SDL_Surface *Pgobelin;
SDL_Surface *red_warrior_gobelin;
@@ -36,7 +37,10 @@ struct surfaces
SDL_Surface *Ptextechoixmenu;
SDL_Surface *Pcurseurennemis;
SDL_Surface *Pcurseurallies;
- SDL_Surface *Pfondjeu;
+
+ SDL_Surface *Pfondjeu; /* deprecated */
+ SDL_Surface *background;
+
SDL_Surface *Pnbdegats;
SDL_Surface *Pcadrecible;
SDL_Surface *Pnomcible;