Public Member Functions |
| Sim (MotionController *ctrl) |
virtual | ~Sim () |
virtual void | ExecFrame (double seconds) |
void | LoadMission (Mission *msn, bool preload_textures=false) |
void | ExecMission () |
void | CommitMission () |
void | UnloadMission () |
void | NextView () |
void | ShowGrid (int show=true) |
bool | GridShown () const |
const char * | FindAvailCallsign (int IFF) |
Element * | CreateElement (const char *callsign, int IFF, int type=0) |
void | DestroyElement (Element *elem) |
Ship * | CreateShip (const char *name, const char *reg_num, ShipDesign *design, const char *rgn_name, const Point &loc, int IFF=0, int cmd_ai=0, const int *loadout=0) |
Ship * | FindShip (const char *name, const char *rgn_name=0) |
Shot * | CreateShot (const Point &pos, const Camera &shot_cam, WeaponDesign *d, const Ship *ship=0, SimRegion *rgn=0) |
Explosion * | CreateExplosion (const Point &pos, const Point &vel, int type, float exp_scale, float part_scale, SimRegion *rgn=0, SimObject *source=0, System *sys=0) |
Debris * | CreateDebris (const Point &pos, const Point &vel, Model *model, double mass, SimRegion *rgn=0) |
Asteroid * | CreateAsteroid (const Point &pos, int type, double mass, SimRegion *rgn=0) |
void | CreateSplashDamage (Ship *ship) |
void | CreateSplashDamage (Shot *shot) |
void | DestroyShip (Ship *ship) |
void | NetDockShip (Ship *ship, Ship *carrier, FlightDeck *deck) |
virtual Ship * | FindShipByObjID (DWORD objid) |
virtual Shot * | FindShotByObjID (DWORD objid) |
Mission * | GetMission () |
List< MissionEvent > & | GetEvents () |
List< SimRegion > & | GetRegions () |
SimRegion * | FindRegion (const char *name) |
SimRegion * | FindRegion (OrbitalRegion *rgn) |
SimRegion * | FindNearestSpaceRegion (SimObject *object) |
SimRegion * | FindNearestSpaceRegion (Orbital *body) |
SimRegion * | FindNearestTerrainRegion (SimObject *object) |
SimRegion * | FindNearestRegion (SimObject *object, int type) |
bool | ActivateRegion (SimRegion *rgn) |
void | RequestHyperJump (Ship *obj, SimRegion *rgn, const Point &loc, int type=0, Ship *fc_src=0, Ship *fc_dst=0) |
SimRegion * | GetActiveRegion () |
StarSystem * | GetStarSystem () |
List< StarSystem > & | GetSystemList () |
Scene * | GetScene () |
Ship * | GetPlayerShip () |
Element * | GetPlayerElement () |
Orbital * | FindOrbitalBody (const char *name) |
void | SetSelection (Ship *s) |
bool | IsSelected (Ship *s) |
ListIter< Ship > | GetSelection () |
void | ClearSelection () |
void | AddSelection (Ship *s) |
void | SetTestMode (bool t=true) |
bool | IsTestMode () const |
bool | IsNetGame () const |
bool | IsActive () const |
bool | IsComplete () const |
MotionController * | GetControls () const |
Element * | FindElement (const char *name) |
List< Element > & | GetElements () |
int | GetAssignedElements (Element *elem, List< Element > &assigned) |
void | SkipCutscene () |
void | ResolveTimeSkip (double seconds) |
void | ResolveHyperList () |
void | ResolveSplashList () |
void | ExecEvents (double seconds) |
void | ProcessEventTrigger (int type, int event_id=0, const char *ship=0, int param=0) |
double | MissionClock () const |
DWORD | StartTime () const |
ListIter< MissionElement > | GetMissionElements () |
| Universe () |
virtual | ~Universe () |
Definition at line 69 of file Sim.h.