mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 20:03:58 +02:00
- do not load models or sound files in headless server mode
This commit is contained in:
@@ -176,6 +176,8 @@ private:
|
||||
string fileName;
|
||||
string sourceLoader;
|
||||
|
||||
static bool masterserverMode;
|
||||
|
||||
public:
|
||||
//constructor & destructor
|
||||
Model();
|
||||
@@ -183,6 +185,8 @@ public:
|
||||
virtual void init()= 0;
|
||||
virtual void end()= 0;
|
||||
|
||||
static void setMasterserverMode(bool value) { masterserverMode=value; }
|
||||
|
||||
//data
|
||||
void updateInterpolationData(float t, bool cycle);
|
||||
void updateInterpolationVertices(float t, bool cycle);
|
||||
|
Reference in New Issue
Block a user