Public Member Functions |
| Drive (SUBTYPE s, float max_thrust, float max_aug, bool show_trail=true) |
| Drive (const Drive &rhs) |
virtual | ~Drive () |
float | Thrust (double seconds) |
float | MaxThrust () const |
float | MaxAugmenter () const |
int | NumEngines () const |
DriveSprite * | GetFlare (int port) const |
Bolt * | GetTrail (int port) const |
bool | IsAugmenterOn () const |
virtual void | AddPort (const Point &loc, float flare_scale=0) |
virtual void | CreatePort (const Point &loc, float flare_scale) |
virtual void | Orient (const Physical *rep) |
void | SetThrottle (double t, bool aug=false) |
virtual double | GetRequest (double seconds) const |
| System (CATEGORY t, int s, const char *n, int maxv, double energy=0, double capacity=100, double sink_rate=1) |
| System (const System &s) |
virtual | ~System () |
int | operator== (const System &s) const |
CATEGORY | Type () const |
int | Subtype () const |
const char * | Name () const |
const char * | Abbreviation () const |
void | SetName (const char *n) |
void | SetAbbreviation (const char *a) |
void | SetDesign (SystemDesign *d) |
virtual int | Value () const |
int | MaxValue () const |
STATUS | Status () const |
double | Availability () const |
double | Safety () const |
double | Stability () const |
virtual void | CalcStatus () |
virtual void | Repair () |
double | NetAvail () const |
void | SetNetAvail (double d) |
List< Component > & | GetComponents () |
virtual void | ApplyDamage (double damage) |
virtual void | ExecFrame (double seconds) |
virtual void | ExecMaintFrame (double seconds) |
virtual void | DoEMCON (int emcon) |
virtual void | Mount (Point loc, float radius, float hull_factor=0.5f) |
virtual void | Mount (const System &system) |
Point | MountLocation () const |
double | Radius () const |
double | HullProtection () const |
bool | IsPowerCritical () const |
bool | UsesWatts () const |
virtual void | Distribute (double delivered_energy, double seconds) |
int | GetSourceIndex () const |
void | SetSourceIndex (int i) |
virtual int | Charge () const |
bool | IsPowerOn () const |
virtual void | PowerOn () |
virtual void | PowerOff () |
virtual double | GetPowerLevel () const |
virtual void | SetPowerLevel (double level) |
virtual void | SetOverride (bool over) |
virtual void | DrainPower (double to_level) |
void | SetCapacity (double c) |
double | GetCapacity () const |
double | GetEnergy () const |
double | GetSinkRate () const |
void | SetEMCONPower (int emcon, int power_level) |
int | GetEMCONPower (int emcon) |
int | GetExplosionType () const |
void | SetExplosionType (int t) |
Ship * | GetShip () const |
void | SetShip (Ship *s) |
int | GetID () const |
void | SetID (int n) |
Definition at line 47 of file Drive.h.