[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r2578 - trunk/src
From: |
jave27 |
Subject: |
[Pingus-CVS] r2578 - trunk/src |
Date: |
Thu, 5 Jan 2006 21:30:31 +0100 |
Author: jave27
Date: 2006-01-05 21:30:28 +0100 (Thu, 05 Jan 2006)
New Revision: 2578
Modified:
trunk/src/globals.cxx
Log:
Re-arranged globals.cxx and got rid of some redundancy
Modified: trunk/src/globals.cxx
===================================================================
--- trunk/src/globals.cxx 2006-01-05 20:24:28 UTC (rev 2577)
+++ trunk/src/globals.cxx 2006-01-05 20:30:28 UTC (rev 2578)
@@ -35,30 +35,14 @@
bool auto_scrolling = true;
bool drag_drop_scrolling = false;
int tile_size = 32;
-#ifdef WIN32
-#ifdef _DEBUG
-bool fullscreen_enabled = false;
-#else
-bool fullscreen_enabled = false;
-#endif
-// The clanSDL target is a little buggy on Windows - Use OpenGL by default
-bool use_opengl = true;
-#else
-bool fullscreen_enabled = false;
-// Use the clanSDL target by default for systems other than Windows.
-bool use_opengl = false;
-#endif
+
int screen_width = 800;
int screen_height = 600;
bool draw_collision_map = false;
bool swcursor_enabled = false;
std::string config_file;
bool max_cpu_usage = true;
-#ifdef WIN32
-#else
-#endif
-
- bool action_help = true;
+bool action_help = true;
bool show_input_debug_screen = false;
bool render_preview = false;
@@ -73,6 +57,15 @@
int pingus_debug_flags = 0;
+#ifdef WIN32
+bool fullscreen_enabled = false;
+// The clanSDL target is a little buggy on Windows - Use OpenGL by default
+bool use_opengl = true;
+#else
+bool fullscreen_enabled = false;
+// Use the clanSDL target by default for systems other than Windows.
+bool use_opengl = false;
+#endif
} // namespace Pingus
/* EOF */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r2578 - trunk/src,
jave27 <=