[Scummvm-cvs-logs] SF.net SVN: scummvm: [25113] residual/trunk/main.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Thu Jan 18 15:10:02 CET 2007


Revision: 25113
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25113&view=rev
Author:   aquadran
Date:     2007-01-18 06:10:00 -0800 (Thu, 18 Jan 2007)

Log Message:
-----------
reorder code

Modified Paths:
--------------
    residual/trunk/main.cpp

Modified: residual/trunk/main.cpp
===================================================================
--- residual/trunk/main.cpp	2007-01-17 20:11:31 UTC (rev 25112)
+++ residual/trunk/main.cpp	2007-01-18 14:10:00 UTC (rev 25113)
@@ -40,16 +40,20 @@
 #include <SDL.h>
 #include <SDL_video.h>
 
-// Hacky global toggles for experimental/debug code
-bool ZBUFFER_GLOBAL, SHOWFPS_GLOBAL, TINYGL_GLOBAL;
-enDebugLevels debugLevel = DEBUG_NONE;
-
 #if defined (WIN32) && !defined (_MSC_VER)
 int WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/,  LPSTR /*lpCmdLine*/, int /*iShowCmd*/) {
     return main(__argc, __argv);
 }
 #endif
 
+#ifdef _MSC_VER
+	#undef main
+#endif
+
+// Hacky global toggles for experimental/debug code
+bool ZBUFFER_GLOBAL, SHOWFPS_GLOBAL, TINYGL_GLOBAL;
+enDebugLevels debugLevel = DEBUG_NONE;
+
 static bool g_lua_initialized = false;
 Driver *g_driver = NULL;
 
@@ -81,10 +85,6 @@
 
 void quit();
 
-#ifdef _MSC_VER
-	#undef main
-#endif
-
 int main(int argc, char *argv[]) {
 	int i;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list