mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 11:24:00 +02:00
- in headless mode avoid init of sdl's video surface so that we stay in console window (no graphics window shown)
This commit is contained in:
@@ -111,6 +111,8 @@ private:
|
||||
|
||||
static void setKeystate(SDL_keysym state) { keystate = state; }
|
||||
|
||||
static bool masterserverMode;
|
||||
|
||||
protected:
|
||||
int w, h;
|
||||
static bool isActive;
|
||||
@@ -130,6 +132,9 @@ public:
|
||||
Window();
|
||||
virtual ~Window();
|
||||
|
||||
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