[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netPanzer-CVS] netpanzer/src/NetPanzer/Core netPanzerGlobals.h...
From: |
Matthias Braun |
Subject: |
[netPanzer-CVS] netpanzer/src/NetPanzer/Core netPanzerGlobals.h... |
Date: |
Sat, 06 Sep 2003 18:13:41 -0400 |
CVSROOT: /cvsroot/netpanzer
Module name: netpanzer
Branch:
Changes by: Matthias Braun <address@hidden> 03/09/06 18:13:41
Modified files:
src/NetPanzer/Core: netPanzerGlobals.h netPanzerWinMain.cpp
Removed files:
src/NetPanzer/Core: netPanzerGlobals.cpp netPanzerMain.cpp
netPanzerMain.h netPanzerThread.cpp
netPanzerThread.h
Log message:
cleaned up some unused code
Patches:
Index: netpanzer/src/NetPanzer/Core/netPanzerGlobals.h
diff -u netpanzer/src/NetPanzer/Core/netPanzerGlobals.h:1.1
netpanzer/src/NetPanzer/Core/netPanzerGlobals.h:1.2
--- netpanzer/src/NetPanzer/Core/netPanzerGlobals.h:1.1 Sun Dec 1 12:51:56 2002
+++ netpanzer/src/NetPanzer/Core/netPanzerGlobals.h Sat Sep 6 18:13:41 2003
@@ -20,19 +20,6 @@
#include "fXY.hpp"
-
-extern unsigned short MOUSE_X;
-extern unsigned short MOUSE_Y;
-extern unsigned short MAKE_LEFT_MOUSE_BUTTON;
-extern unsigned short MAKE_RIGHT_MOUSE_BUTTON;
-extern unsigned short MAKE_MID_MOUSE_BUTTON;
-extern unsigned char MOUSE_BUTTON_MASK;
-
-extern char PANZER_THREAD_ACTIVE;
-extern char PANZER_THREAD_FINISHED;
-extern unsigned long PANZER_THREAD_HANDLE;
-extern char FUCK_THREAD;
-
extern fXY gInputOffset;
extern bool gMainLoopBegin;
Index: netpanzer/src/NetPanzer/Core/netPanzerWinMain.cpp
diff -u netpanzer/src/NetPanzer/Core/netPanzerWinMain.cpp:1.6
netpanzer/src/NetPanzer/Core/netPanzerWinMain.cpp:1.7
--- netpanzer/src/NetPanzer/Core/netPanzerWinMain.cpp:1.6 Sat Sep 6
07:35:35 2003
+++ netpanzer/src/NetPanzer/Core/netPanzerWinMain.cpp Sat Sep 6 18:13:41 2003
@@ -24,8 +24,6 @@
#include "netPanzerWinProc.h"
#include "gapp.hpp"
#include "netPanzerGlobals.h"
-#include "netPanzerThread.h"
-#include "netPanzerMain.h"
#include "resource.h"
#include "GameManager.hpp"
@@ -46,13 +44,10 @@
//Initialize the Windows portion of PanzerKrieg (create a window,
//fill in the contents of our GlobalApp structure, etc.)
if( WinInit( hInstance, nCmdShow) == false)
- return false;
+ return false;
- if( netPanzerInitialize( lpCmdLine ) == false)
- return false;
-
- //the game loop--
- //PANZER_THREAD_HANDLE = _beginthread(PanzerThread, 0, 0);
+ if( GameManager::initialize( lpCmdLine ) == false)
+ return false;
//just cause they do it in the book, for now only--
ShowCursor( false );
@@ -73,14 +68,9 @@
} // ** if PeekMessage
else
{
- if ( FUCK_THREAD == true )
- {
- FUCK_THREAD = false;
- }
-
GameManager::mainLoop();
}
- } // ** while
+ } // ** while
}
////////////////////////////////////////////////////////////////
//END WINMAIN///////////////////////////////////////////////////
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [netPanzer-CVS] netpanzer/src/NetPanzer/Core netPanzerGlobals.h...,
Matthias Braun <=