mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 09:29:25 +02:00
- added option to quit headless server after game has completed:
./megaglest --headless-server-mode=exit
This commit is contained in:
@@ -43,6 +43,8 @@ const int Program::maxTimes= 10;
|
||||
Program *Program::singleton = NULL;
|
||||
const int SOUND_THREAD_UPDATE_MILLISECONDS = 25;
|
||||
|
||||
bool Program::wantShutdownApplicationAfterGame = false;
|
||||
|
||||
// =====================================================
|
||||
// class Program::CrashProgramState
|
||||
// =====================================================
|
||||
@@ -161,10 +163,11 @@ void Program::ShowMessageProgramState::update() {
|
||||
|
||||
Program::Program() {
|
||||
this->masterserverMode = false;
|
||||
skipRenderFrameCount = 0;
|
||||
programState= NULL;
|
||||
singleton = this;
|
||||
soundThreadManager = NULL;
|
||||
this->shutdownApplicationEnabled = false;
|
||||
this->skipRenderFrameCount = 0;
|
||||
this->programState= NULL;
|
||||
this->singleton = this;
|
||||
this->soundThreadManager = NULL;
|
||||
|
||||
//mesage box
|
||||
Lang &lang= Lang::getInstance();
|
||||
|
Reference in New Issue
Block a user