|
UFO: Alien Invasion
|

Go to the source code of this file.
Macros | |
| #define | CAMERAMODEL(X, IDX) |
Functions | |
| static bool | G_CameraUse (Edict *self, Edict *activator) |
| static bool | Destroy_Camera (Edict *self) |
| void | G_InitCamera (Edict *ent, camera_type_t cameraType, float angle, bool rotate) |
| #define CAMERAMODEL | ( | X, | |
| IDX ) |
|
static |
Definition at line 41 of file g_camera.cpp.
References G_FreeEdict(), G_SpawnParticle(), Edict::origin, Edict::particle, and Edict::spawnflags.
Referenced by G_InitCamera().
Definition at line 30 of file g_camera.cpp.
References G_IsActor, and Edict::toggleActive().
Referenced by G_InitCamera().
| void G_InitCamera | ( | Edict * | ent, |
| camera_type_t | cameraType, | ||
| float | angle, | ||
| bool | rotate ) |
Definition at line 50 of file g_camera.cpp.
References ACTOR_SIZE_NORMAL, AngleToDir(), Edict::camera, CAMERA_MOBILE, CAMERA_STATIONARY, CAMERAMODEL, camera_edict_data_t::cameraType, Edict::classname, Edict::destroy, Destroy_Camera(), Edict::dir, Edict::entBox, ET_CAMERA, Edict::fieldSize, FL_DESTROYABLE, Edict::flags, G_CameraUse(), G_FreeEdict(), gi, MAT_ELECTRICAL, Edict::material, Edict::model, Edict::origin, Edict::pos, camera_edict_data_t::rotate, AABB::set(), Edict::solid, SOLID_BBOX, Edict::type, Edict::use, and VecToPos.
Referenced by SP_misc_camera().