mirror of
https://github.com/glest/glest-source.git
synced 2025-08-10 10:24:01 +02:00
- cleanup of masterserver global flag
- attempt to cut down on resources required for masterserver mode to minimize RAM
This commit is contained in:
@@ -111,7 +111,7 @@ private:
|
||||
|
||||
static void setKeystate(SDL_keysym state) { keystate = state; }
|
||||
|
||||
static bool masterserverMode;
|
||||
//static bool masterserverMode;
|
||||
|
||||
protected:
|
||||
int w, h;
|
||||
@@ -132,8 +132,8 @@ public:
|
||||
Window();
|
||||
virtual ~Window();
|
||||
|
||||
static void setMasterserverMode(bool value) { Window::masterserverMode = value;}
|
||||
static bool getMasterserverMode() { return Window::masterserverMode;}
|
||||
//static void setMasterserverMode(bool value) { Window::masterserverMode = value;}
|
||||
//static bool getMasterserverMode() { return Window::masterserverMode;}
|
||||
|
||||
static bool getTryVSynch() { return tryVSynch; }
|
||||
static void setTryVSynch(bool value) { tryVSynch = value; }
|
||||
|
Reference in New Issue
Block a user