Update of /cvsroot/super-tux/supertux/lib/app
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13283/lib/app
Modified Files:
globals.cpp globals.h
Log Message:
- added debug grid. type 'grid' in-game to toggle
Index: globals.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/app/globals.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- globals.cpp 23 Nov 2004 22:21:49 -0000 1.11
+++ globals.cpp 24 Nov 2004 18:22:21 -0000 1.12
@@ -56,6 +56,7 @@
bool use_fullscreen;
bool debug_mode;
bool show_fps;
+bool debug_grid = false;
int joystick_num = 0;
char* level_startup_file = 0;
Index: globals.h
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/app/globals.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- globals.h 24 Nov 2004 14:10:20 -0000 1.11
+++ globals.h 24 Nov 2004 18:22:21 -0000 1.12
@@ -67,6 +67,7 @@
extern bool use_fullscreen;
extern bool debug_mode;
extern bool show_fps;
+ extern bool debug_grid;
/** The number of the joystick that will be use in the game */
extern int joystick_num;
|