Public Member Functions |
| Ship (const char *ship_name, const char *reg_num, ShipDesign *design, int IFF=0, int cmd_ai=0, const int *loadout=0) |
virtual | ~Ship () |
int | operator== (const Ship &s) const |
virtual void | ExecFrame (double seconds) |
virtual void | AeroFrame (double seconds) |
virtual void | StatFrame (double seconds) |
virtual void | DockFrame (double seconds) |
virtual void | LinearFrame (double seconds) |
virtual void | ExecSensors (double seconds) |
void | ExecNavFrame (double seconds) |
void | ExecPhysics (double seconds) |
void | ExecThrottle (double seconds) |
void | ExecSystems (double seconds) |
virtual void | Activate (Scene &scene) |
virtual void | Deactivate (Scene &scene) |
virtual void | SelectDetail (double seconds) |
virtual void | SetRegion (SimRegion *rgn) |
virtual int | GetTextureList (List< Bitmap > &textures) |
virtual void | SetControls (MotionController *m) |
virtual void | SetNetworkControl (Director *net_ctrl=0) |
void | SetDirectorInfo (const char *msg) |
const char * | GetDirectorInfo () const |
void | SetAIMode (int n) |
int | GetAIMode () const |
void | SetCommandAILevel (int n) |
int | GetCommandAILevel () const |
virtual int | GetFlightPhase () const |
virtual void | SetFlightPhase (OP_MODE phase) |
bool | IsNetObserver () const |
void | SetNetObserver (bool n) |
bool | IsInvulnerable () const |
void | SetInvulnerable (bool n) |
double | GetHelmHeading () const |
double | GetHelmPitch () const |
void | SetHelmHeading (double h) |
void | SetHelmPitch (double p) |
virtual void | ApplyHelmYaw (double y) |
virtual void | ApplyHelmPitch (double p) |
virtual void | ApplyPitch (double pitch_acc) |
void | ArcadeStop () |
Point | BridgeLocation () const |
Point | ChaseLocation () const |
Point | TransitionLocation () const |
Ship * | GetController () const |
int | NumInbound () const |
int | NumFlightDecks () const |
FlightDeck * | GetFlightDeck (int i=0) const |
Ship * | GetCarrier () const |
FlightDeck * | GetDock () const |
void | SetCarrier (Ship *c, FlightDeck *d) |
void | Stow () |
InboundSlot * | GetInbound () const |
void | SetInbound (InboundSlot *s) |
int | GetFuelLevel () const |
void | SetThrottle (double percent) |
void | SetAugmenter (bool enable) |
double | Thrust (double seconds) const |
double | VelocityLimit () const |
Drive * | GetDrive () const |
double | Throttle () const |
bool | Augmenter () const |
QuantumDrive * | GetQuantumDrive () const |
Farcaster * | GetFarcaster () const |
bool | IsAirborne () const |
bool | IsDropCam () const |
bool | IsDropping () const |
bool | IsAttaining () const |
bool | IsSkipping () const |
bool | IsDying () const |
bool | IsDead () const |
bool | InTransition () const |
void | DropOrbit () |
void | MakeOrbit () |
bool | CanTimeSkip () |
bool | IsInCombat () |
void | TimeSkip () |
void | DropCam (double time=10, double range=0) |
void | DeathSpiral () |
void | CompleteTransition () |
void | SetTransition (double trans_time, int trans_type, const Point &trans_loc) |
double | CompassHeading () const |
double | CompassPitch () const |
double | AltitudeMSL () const |
double | AltitudeAGL () const |
double | GForce () const |
virtual void | SetupAgility () |
void | ExecFLCSFrame () |
void | CycleFLCSMode () |
void | SetFLCSMode (int mode) |
int | GetFLCSMode () const |
void | SetTransX (double t) |
void | SetTransY (double t) |
void | SetTransZ (double t) |
bool | IsGearDown () |
void | LowerGear () |
void | RaiseGear () |
void | ToggleGear () |
void | ToggleNavlights () |
virtual void | CheckFriendlyFire () |
virtual void | CheckFire (bool c) |
virtual bool | CheckFire () const |
virtual void | SelectWeapon (int n, int w) |
virtual bool | FireWeapon (int n) |
virtual bool | FirePrimary () |
virtual bool | FireSecondary () |
virtual bool | FireDecoy () |
virtual void | CyclePrimary () |
virtual void | CycleSecondary () |
virtual Weapon * | GetPrimary () const |
virtual Weapon * | GetSecondary () const |
virtual Weapon * | GetWeaponByIndex (int n) |
virtual WeaponGroup * | GetPrimaryGroup () const |
virtual WeaponGroup * | GetSecondaryGroup () const |
virtual Weapon * | GetDecoy () const |
virtual List< Shot > & | GetActiveDecoys () |
virtual void | AddActiveDecoy (Drone *d) |
virtual int * | GetLoadout () |
List< Shot > & | GetThreatList () |
void | AddThreat (Shot *s) |
void | DropThreat (Shot *s) |
virtual bool | Update (SimObject *obj) |
virtual const char * | GetObserverName () const |
virtual int | GetMissileEta (int index) const |
virtual void | SetMissileEta (int id, int eta) |
virtual WeaponDesign * | GetPrimaryDesign () const |
virtual WeaponDesign * | GetSecondaryDesign () const |
virtual void | SetTarget (SimObject *t, System *sub=0, bool from_net=false) |
virtual SimObject * | GetTarget () const |
virtual System * | GetSubTarget () const |
virtual void | CycleSubTarget (int dir=1) |
virtual void | DropTarget () |
virtual void | LockTarget (int type=SimObject::SIM_SHIP, bool closest=false, bool hostile=false) |
virtual void | LockTarget (SimObject *candidate) |
virtual bool | IsTracking (SimObject *tgt) |
virtual bool | GetTrigger (int i) const |
virtual void | SetTrigger (int i) |
Ship * | GetWard () const |
void | SetWard (Ship *s) |
virtual double | InflictDamage (double damage, Shot *shot=0, int hit_type=3, Point hull_impact=Point(0, 0, 0)) |
virtual double | InflictSystemDamage (double damage, Shot *shot, Point impact) |
virtual void | InflictNetDamage (double damage, Shot *shot=0) |
virtual void | InflictNetSystemDamage (System *system, double damage, BYTE type) |
virtual void | SetNetSystemStatus (System *system, int status, int power, int reactor, double avail) |
virtual void | SetIntegrity (float n) |
virtual void | Destroy () |
virtual int | ShieldStrength () const |
virtual int | HullStrength () const |
virtual int | HitBy (Shot *shot, Point &impact) |
virtual int | CollidesWith (Physical &o) |
virtual int | GetContactID () const |
virtual int | GetIFF () const |
virtual void | SetIFF (int iff) |
virtual Color | MarkerColor () const |
virtual void | DoEMCON () |
virtual double | PCS () const |
virtual double | ACS () const |
int | NumContacts () const |
List< Contact > & | ContactList () |
virtual int | GetSensorMode () const |
virtual void | SetSensorMode (int mode) |
virtual void | LaunchProbe () |
virtual Weapon * | GetProbeLauncher () const |
virtual Drone * | GetProbe () const |
virtual void | SetProbe (Drone *d) |
virtual int | GetEMCON () const |
virtual void | SetEMCON (int e, bool from_net=false) |
virtual Contact * | FindContact (SimObject *s) const |
virtual bool | IsHostileTo (const SimObject *o) const |
const char * | Registry () const |
void | SetName (const char *ident) |
const ShipDesign * | Design () const |
const char * | Abbreviation () const |
const char * | DesignName () const |
const char * | DesignFileName () const |
const char * | ClassName () const |
CLASSIFICATION | Class () const |
bool | IsGroundUnit () const |
bool | IsStarship () const |
bool | IsDropship () const |
bool | IsStatic () const |
bool | IsRogue () const |
void | SetRogue (bool r=true) |
int | GetFriendlyFire () const |
void | SetFriendlyFire (int f) |
void | IncFriendlyFire (int f=1) |
double | Agility () const |
DWORD | MissionClock () const |
Graphic * | Cockpit () const |
void | ShowCockpit () |
void | HideCockpit () |
int | Value () const |
double | AIValue () const |
const Skin * | GetSkin () const |
void | UseSkin (const Skin *s) |
void | ShowRep () |
void | HideRep () |
void | EnableShadows (bool enable) |
int | RespawnCount () const |
void | SetRespawnCount (int r) |
const Point & | RespawnLoc () const |
void | SetRespawnLoc (const Point &rl) |
double | WarpFactor () const |
void | SetWarp (double w) |
void | MatchOrientation (const Ship &s) |
void | ExecEvalFrame (double seconds) |
void | SetLaunchPoint (Instruction *pt) |
void | AddNavPoint (Instruction *pt, Instruction *afterPoint=0) |
void | DelNavPoint (Instruction *pt) |
void | ClearFlightPlan () |
Instruction * | GetNextNavPoint () |
int | GetNavIndex (const Instruction *n) |
double | RangeToNavPoint (const Instruction *n) |
void | SetNavptStatus (Instruction *n, int status) |
List< Instruction > & | GetFlightPlan () |
int | FlightPlanLength () |
CombatUnit * | GetCombatUnit () const |
Element * | GetElement () const |
Ship * | GetLeader () const |
int | GetElementIndex () const |
int | GetOrigElementIndex () const |
void | SetElement (Element *e) |
Instruction * | GetRadioOrders () const |
void | ClearRadioOrders () |
void | HandleRadioMessage (RadioMessage *msg) |
bool | IsAutoNavEngaged () |
void | SetAutoNav (bool engage=true) |
void | CommandMode () |
void | ClearTrack () |
void | UpdateTrack () |
int | TrackLength () const |
Point | TrackPoint (int i) const |
List< System > & | RepairQueue () |
double | RepairSpeed () const |
int | RepairTeams () const |
void | RepairSystem (System *sys) |
void | IncreaseRepairPriority (int task_index) |
void | DecreaseRepairPriority (int task_index) |
void | ExecMaintFrame (double seconds) |
bool | AutoRepair () const |
void | EnableRepair (bool e) |
bool | MasterCaution () const |
void | ClearCaution () |
List< System > & | Systems () |
List< WeaponGroup > & | Weapons () |
List< Drive > & | Drives () |
List< Computer > & | Computers () |
List< FlightDeck > & | FlightDecks () |
List< PowerSource > & | Reactors () |
List< NavLight > & | NavLights () |
Shield * | GetShield () |
Solid * | GetShieldRep () |
Sensor * | GetSensor () |
NavSystem * | GetNavSystem () |
FlightComp * | GetFLCS () |
Thruster * | GetThruster () |
Hangar * | GetHangar () |
LandingGear * | GetGear () |
System * | GetSystem (int sys_id) |
| SimObject () |
| SimObject (const char *n, int t=0) |
virtual | ~SimObject () |
virtual SimRegion * | GetRegion () const |
virtual void | Notify () |
virtual void | Register (SimObserver *obs) |
virtual void | Unregister (SimObserver *obs) |
virtual DWORD | GetObjID () const |
virtual void | SetObjID (DWORD id) |
| Physical () |
| Physical (const char *n, int t=0) |
virtual | ~Physical () |
int | operator== (const Physical &p) const |
virtual void | ArcadeFrame (double seconds) |
virtual void | AngularFrame (double seconds) |
virtual void | CalcFlightPath () |
virtual void | MoveTo (const Point &new_loc) |
virtual void | TranslateBy (const Point &ref) |
virtual void | ApplyForce (const Point &force) |
virtual void | ApplyTorque (const Point &torque) |
virtual void | SetThrust (double t) |
virtual void | SetHeading (double r, double p, double y) |
virtual void | LookAt (const Point &dst) |
virtual void | ApplyRoll (double roll_acc) |
virtual void | ApplyYaw (double yaw_acc) |
virtual void | InflictDamage (double damage, int type=0) |
int | Identity () const |
int | Type () const |
const char * | Name () const |
Point | Location () const |
Point | Heading () const |
Point | LiftLine () const |
Point | BeamLine () const |
Point | Velocity () const |
Point | Acceleration () const |
double | Thrust () const |
double | TransX () const |
double | TransY () const |
double | TransZ () const |
double | Drag () const |
double | Roll () const |
double | Pitch () const |
double | Yaw () const |
Point | Rotation () const |
double | Alpha () const |
double | FlightPathYawAngle () const |
double | FlightPathPitchAngle () const |
double | Radius () const |
double | Mass () const |
double | Integrity () const |
double | Life () const |
double | Shake () const |
const Point & | Vibration () const |
const Camera & | Cam () const |
Graphic * | Rep () const |
Light * | LightSrc () const |
Director * | GetDirector () const |
virtual void | SetAngularRates (double r, double p, double y) |
virtual void | GetAngularRates (double &r, double &p, double &y) |
virtual void | SetAngularDrag (double r, double p, double y) |
virtual void | GetAngularDrag (double &r, double &p, double &y) |
virtual void | GetAngularThrust (double &r, double &p, double &y) |
virtual void | SetVelocity (const Point &v) |
virtual void | SetAbsoluteOrientation (double roll, double pitch, double yaw) |
virtual void | CloneCam (const Camera &cam) |
virtual void | SetDrag (double d) |
virtual void | SetPrimary (const Point &loc, double mass) |
virtual void | SetGravity (double g) |
virtual void | SetBaseDensity (double d) |
virtual double | GetBaseDensity () const |
virtual double | GetDensity () const |
virtual | ~SimObserver () |
int | operator== (const SimObserver &o) const |
virtual void | Observe (SimObject *obj) |
virtual void | Ignore (SimObject *obj) |
Definition at line 66 of file Ship.h.