[Xbubble-commits] xbubble-sdl/src graphic_utils.h,1.2,1.3

Martin Quinson mquinson at alioth.debian.org
Thu Sep 14 08:01:23 UTC 2006


Update of /cvsroot/xbubble/xbubble-sdl/src
In directory haydn:/tmp/cvs-serv27268

Modified Files:
	graphic_utils.h 
Log Message:
make the screen surface visible to game.c, which needs this to toggle fullscreen

Index: graphic_utils.h
===================================================================
RCS file: /cvsroot/xbubble/xbubble-sdl/src/graphic_utils.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- graphic_utils.h	13 Sep 2006 22:51:22 -0000	1.2
+++ graphic_utils.h	14 Sep 2006 08:01:21 -0000	1.3
@@ -6,6 +6,7 @@
 
 extern const char* sdl_error;
 
+extern SDL_Surface *screen; /* game.c needs this to toggle fullscreen */
 SDL_Surface *window_make(int width, int height);
 
 /* to compute the length of an animation, do <nb_sec> * fps_get() */




More information about the Xbubble-commits mailing list