1 #ifndef _GENERICSYSTEM_H_
2 #define _GENERICSYSTEM_H_
10 #include "cmd/collection.h"
11 #include "cmd/container.h"
19 class ContinuousTerrain;
60 ContinuousTerrain *
ct;
76 std::vector< AtmosphericFogMesh >
fog;
81 void LoadXML(
const char*,
const Vector ¢roid,
const float timeofyear );
89 std::vector< UnitContainer >
navs[3];
109 StarSystem(
const char *
filename,
const Vector ¢roid = Vector( 0, 0, 0 ),
const float timeofyear = 0 );
151 this->
zone = zonenum;
178 virtual void Draw(
bool DrawCockpit =
true ) {}
180 void Update(
float priority,
bool executeDirector );
182 void Update(
float priority );
214 static void beginElement(
void *userData,
const XML_Char *
name,
const XML_Char **atts );
233 bool JumpTo( Unit *unit, Unit *jumppoint,
const std::string &system,
bool force =
false,
bool save_coordinates =
false );
245 double calc_blend_factor(
double frac,
int priority,
unsigned int when_it_will_be_simulated,
int cur_simulation_frame );