[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.10,1.11 globals.hxx
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.10,1.11 globals.hxx,1.6,1.7 |
Date: |
17 Aug 2002 00:27:23 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv8529
Modified Files:
pingus_main.cxx globals.hxx
Log Message:
added some more debug flags
Index: pingus_main.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/pingus_main.cxx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- pingus_main.cxx 4 Aug 2002 15:42:23 -0000 1.10
+++ pingus_main.cxx 17 Aug 2002 00:27:21 -0000 1.11
@@ -478,6 +478,14 @@
{
pingus_debug_flags |= PINGUS_DEBUG_RESOURCES;
}
+ else if (strcmp (optarg, "gui") == 0)
+ {
+ pingus_debug_flags |= PINGUS_DEBUG_GUI;
+ }
+ else if (strcmp (optarg, "input") == 0)
+ {
+ pingus_debug_flags |= PINGUS_DEBUG_INPUT;
+ }
else
{
std::cout << "PingusMain: Unhandled debug flag: " << optarg <<
std::endl;
@@ -546,7 +554,8 @@
" --maintainer-mode Enables some features, only interesting
programmers\n"
" --enable-bg-manipulation Enables color manipulation of level
backgrounds\n"
" --debug OPTION Enable the output of debugging infos,
possible\n"
- " OPTION's are tiles, gametime, actions,
sound, resources\n"
+ " OPTION's are tiles, gametime, actions,
sound, resources, gui,\n"
+ " input\n"
" -t, --speed SPEED Set the game speed (0=fastest,
>0=slower)\n"
" -b, --print-fps Prints the fps to stdout\n"
" -i, --enable-gimmicks Enable some buggy development stuff\n"
@@ -781,7 +790,7 @@
// Initing the display
CL_Display::set_videomode(screen_width, screen_height, 16,
fullscreen_enabled,
- true); // allow resize
+ false); // allow resize
#ifdef HAVE_LIBCLANGL
if (use_opengl)
Index: globals.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/globals.hxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- globals.hxx 16 Aug 2002 17:15:31 -0000 1.6
+++ globals.hxx 17 Aug 2002 00:27:21 -0000 1.7
@@ -79,6 +79,8 @@
PINGUS_DEBUG_BLITTER = (1 << 6),
PINGUS_DEBUG_TRANSLATOR = (1 << 7),
PINGUS_DEBUG_RESOURCES = (1 << 8),
+ PINGUS_DEBUG_GUI = (1 << 9),
+ PINGUS_DEBUG_INPUT = (1 << 10),
PINGUS_DEBUG_ALL = (~0)
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.10,1.11 globals.hxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src exit_menu.cxx,1.4,1.5 gui_screen.hxx,1.4,1.5 gui_screen.cxx,1.4,1.5
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src pingus_menu.cxx,1.6,1.7 pingus_menu.hxx,1.4,1.5
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src exit_menu.cxx,1.4,1.5 gui_screen.hxx,1.4,1.5 gui_screen.cxx,1.4,1.5
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src pingus_menu.cxx,1.6,1.7 pingus_menu.hxx,1.4,1.5
- Index(es):