![]() |
Leviathan
0.8.0.0
Leviathan game engine
|
#include <ServerApplication.h>
Public Member Functions | |
DLLEXPORT | ServerApplication () |
DLLEXPORT | ~ServerApplication () |
DLLEXPORT bool | PassCommandLine (int argcount, char *args[]) override |
Makes sure doesn't start in GUI mode. More... | |
NETWORKED_TYPE | GetProgramNetType () const override |
![]() | |
DLLEXPORT | LeviathanApplication () |
DLLEXPORT | LeviathanApplication (Engine *engine) |
Version for tests with incomplete engine instance. More... | |
virtual DLLEXPORT | ~LeviathanApplication () |
virtual DLLEXPORT bool | Initialize (AppDef *configuration) |
DLLEXPORT void | ForceRelease () |
Used to immediately terminate the program. More... | |
virtual DLLEXPORT void | StartRelease () |
Safely releases the Application //. More... | |
DLLEXPORT void | MarkAsClosing () |
Thread safely marks the game to close sometime. More... | |
virtual DLLEXPORT int | RunMessageLoop () |
virtual DLLEXPORT void | Render () |
virtual DLLEXPORT void | Tick (int mspassed) |
virtual DLLEXPORT void | PreFirstTick () |
DLLEXPORT bool | Quitting () |
DLLEXPORT Engine * | GetEngine () |
DLLEXPORT AppDef * | GetDefinition () |
DLLEXPORT void | ClearTimers () |
Resets all time sensitive timers. More... | |
virtual DLLEXPORT bool | InitLoadCustomScriptTypes (asIScriptEngine *engine) |
virtual DLLEXPORT void | CustomizeEnginePostLoad () |
virtual DLLEXPORT void | EnginePreShutdown () |
virtual DLLEXPORT std::shared_ptr< GameWorld > | GetGameWorld (int id) |
Used to query a world for specific id. More... | |
![]() | |
DLLEXPORT | ThreadSafeGeneric () |
DLLEXPORT | ~ThreadSafeGeneric () |
FORCE_INLINE void | VerifyLock (RecursiveLock &guard) const |
FORCE_INLINE void | VerifyLock (Lock &lockit) const |
Additional Inherited Members | |
![]() | |
static DLLEXPORT LeviathanApplication * | Get () |
static DLLEXPORT void | DummyGameConfigurationVariables (GameConfiguration *configobj) |
static DLLEXPORT void | DummyGameKeyConfigVariables (KeyConfiguration *keyconfigobj) |
static DLLEXPORT void | StartServerProcess (const std::string &processname, const std::string &commandline) |
![]() | |
virtual DLLEXPORT void | Release () |
Performs the final steps in the release process. More... | |
virtual DLLEXPORT void | _InternalInit () |
virtual NetworkInterface * | _GetApplicationPacketHandler ()=0 |
Called in Initialize to get the derived packet handler type. More... | |
virtual void | _ShutdownApplicationPacketHandler ()=0 |
![]() | |
bool | Quit = false |
bool | ShouldQuit = false |
bool | QuitSometime = false |
This can be quickly set anywhere to quit sometime in the future. More... | |
bool | ExternalEngineInstance = false |
Engine * | _Engine |
AppDef * | ApplicationConfiguration = nullptr |
![]() | |
MutexType | ObjectsLock |
![]() | |
static LeviathanApplication * | Curapp = NULL |
Definition at line 9 of file ServerApplication.h.
DLLEXPORT Leviathan::ServerApplication::ServerApplication | ( | ) |
Definition at line 5 of file ServerApplication.cpp.
DLLEXPORT Leviathan::ServerApplication::~ServerApplication | ( | ) |
Definition at line 9 of file ServerApplication.cpp.
|
inlineoverridevirtual |
Implements Leviathan::LeviathanApplication.
Definition at line 17 of file ServerApplication.h.
|
overridevirtual |
Makes sure doesn't start in GUI mode.
Reimplemented from Leviathan::LeviathanApplication.
Definition at line 13 of file ServerApplication.cpp.