25 #define CONTAINER_DEBUG
43 template <
typename BOGUS >
57 template <
class UnitType >
72 GameUnit(
const char *filename,
bool SubUnit,
int faction, std::string customizedUnit = std::string(
73 "" ),
Flightgroup *flightgroup = NULL,
int fg_subnumber = 0, std::string *netxml = NULL );
83 virtual void Cloak(
bool cloak );
103 virtual void DrawNow(
const Matrix &m,
float lod = 1000000000 );
106 void addHalo(
const char *filename,
110 std::string halo_type,
122 bool Explode(
bool draw,
float timeit );
147 const Vector &CumulativeVelocity,
151 void Thrust(
const Vector &amt,
bool afterburn =
false );
164 bool UpgradeSubUnits(
const Unit *
up,
int subunitoffset,
bool touchme,
bool downgrade,
int &numave,
double &percentage );
165 double Upgrade(
const std::string &
file,
int mountoffset,
int subunitoffset,
bool force,
bool loop_through_mounts );
188 template <
class Astero
id >
192 template <
class Building >
196 template <
class Planet >
200 template <
class Unit >
204 template <
class Missile >
208 template <
class Nebula >
212 template <
class Enhancement >