#include <Situation.h>
Inheritance diagram for CSituation:

Public Member Functions | |
| CSituation (const char *sitFilename) | |
| ~CSituation () | |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| CCamera * | GetCurrentCamera (void) |
| CPanel * | GetCurrentPanel (void) |
| CVehicleObject * | GetUserVehicle (void) |
| EFlyObjectType | GetUserVehicleType (void) |
| void | PrintUserVehicle (FILE *f) |
| void | Prepare (void) |
| void | Timeslice (float dT) |
| void | Draw (float dT) |
Public Attributes | |
| CVehicleObject * | user |
| EFlyObjectType | userType |
| CCameraManager * | cmgr |
| CCockpitManager * | kmgr |
| ssgRoot * | rootModels |
| ssgRoot * | rootUserVehicle |
| std::vector< CWorldObjectBase * > | wobjList |
| int | sfx_source_panel |
Definition at line 74 of file Situation.h.
|
|
Definition at line 141 of file Situation.cpp. References SGlobals::audiomgr, CloseStream(), cmgr, CAudioManager::CreateSource(), SStream::filename, globals, gtfo, kmgr, SStream::mode, OpenStream(), ReadFrom(), rootModels, rootUserVehicle, CGauge::sfx_source, sfx_source_panel, and user. |
|
|
Definition at line 168 of file Situation.cpp. References rootModels, rootUserVehicle, and wobjList. |
|
|
Definition at line 445 of file Situation.cpp. References SPosition::alt, CAMERA_COCKPIT, cmgr, CTerrainManager::Draw(), DrawNoticeToUser(), CVehicleObject::DrawPanel(), CCameraManager::GetActiveCamera(), CCamera::GetCameraType(), CCameraCockpit::GetCockpitPanel(), CWorldObject::GetOrientation(), CVehicleObject::GetPanel(), CWorldObject::GetPosition(), globals, gtfo, CCamera::IsInteriorCamera(), SPosition::lat, SPosition::lon, CSkyManager::PreDraw(), rootModels, rootUserVehicle, CTerrainManager::SetCamera(), CSkyManager::SetCamera(), CVehicleObject::SetPanel(), CTerrainManager::SetPosition(), SGlobals::skymgr, SGlobals::terrainmgr, CCameraManager::UpdateCamera(), and user. Referenced by RedrawSimulation(). |
|
|
|
Definition at line 364 of file Situation.cpp. References CCockpitManager::GetCurrentPanel(), and kmgr. Referenced by KeyCameraCockpitScrollDown(), KeyCameraCockpitScrollLeft(), KeyCameraCockpitScrollRight(), KeyCameraCockpitScrollUp(), motion(), mouse(), and passive_motion(). |
|
|
|
Definition at line 374 of file Situation.cpp. References userType. Referenced by KeyAirplane(), SendMessage(), and Timeslice(). |
|
|
Definition at line 389 of file Situation.cpp. References globals, CTerrainManager::Prepare(), and SGlobals::terrainmgr. Referenced by redraw(). |
|
|
Definition at line 379 of file Situation.cpp. References rootUserVehicle. Referenced by debug_dump_user_cb(). |
|
||||||||||||
|
Reimplemented from CStreamObject. Definition at line 183 of file Situation.cpp. References CModelObject::GetSSGEntity(), globals, CVehicleObject::isUserVehicle(), SGlobals::logWarning, ReadFrom(), ReadString(), rootModels, rootUserVehicle, StringToTag(), TAG_IGNORED, TAG_READ, TagToString(), TYPE_FLY_AIRPLANE, TYPE_FLY_GROUNDVEHICLE, TYPE_FLY_HELICOPTER, TYPE_FLY_MODELOBJECT, TYPE_FLY_SIMULATEDOBJECT, TYPE_FLY_VEHICLE, TYPE_FLY_WORLDOBJECT, user, userType, wobjList, and CLogFile::Write(). |
|
|
Reimplemented from CStreamObject. Definition at line 339 of file Situation.cpp. References cmgr, CVehicleObject::GetCameraManager(), CVehicleObject::GetCockpitManager(), gtfo, kmgr, and user. |
|
|
Definition at line 404 of file Situation.cpp. References GetUserVehicle(), GetUserVehicleType(), globals, gtfo, CAirplaneObject::pAirplane, SGlobals::sit, SGlobals::skymgr, SGlobals::slewmgr, CAirplane::Timeslice(), TYPE_FLY_AIRPLANE, CSkyManager::Update(), CSlewManager::Update(), and userType. Referenced by RedrawSimulation(). |
|
|
Definition at line 99 of file Situation.h. Referenced by CSituation(), Draw(), GetCurrentCamera(), and ReadFinished(). |
|
|
Definition at line 100 of file Situation.h. Referenced by CSituation(), GetCurrentPanel(), and ReadFinished(). |
|
|
Definition at line 102 of file Situation.h. Referenced by CSituation(), Draw(), Read(), and ~CSituation(). |
|
|
Definition at line 103 of file Situation.h. Referenced by CSituation(), Draw(), PrintUserVehicle(), Read(), and ~CSituation(). |
|
|
Definition at line 107 of file Situation.h. Referenced by CSituation(). |
|
|
Definition at line 97 of file Situation.h. Referenced by CSituation(), Draw(), GetUserVehicle(), KeyCameraCockpit(), KeyCameraFlyby(), KeyCameraSpot(), KeyCameraTower(), KeyGlobalCameraNext(), KeyGlobalCameraPrev(), Read(), ReadFinished(), CBKKX155Radio::TimeSlice(), and CNavRadio::TimeSlice(). |
|
|
Definition at line 98 of file Situation.h. Referenced by GetUserVehicleType(), Read(), and Timeslice(). |
|
|
Definition at line 105 of file Situation.h. Referenced by Read(), and ~CSituation(). |
|
|
Documentation generated by
|