doom3-gpl
Doom 3 GPL source release
|
#include <Entity.h>
Classes | |
struct | entityFlags_s |
Public Types | |
enum | { EVENT_STARTSOUNDSHADER, EVENT_STOPSOUNDSHADER, EVENT_MAXEVENTS } |
Static Public Member Functions | |
static bool | ModelCallback (renderEntity_s *renderEntity, const renderView_t *renderView) |
Static Public Member Functions inherited from idClass | |
static void | Init (void) |
static void | Shutdown (void) |
static idTypeInfo * | GetClass (const char *name) |
static void | DisplayInfo_f (const idCmdArgs &args) |
static void | ListClasses_f (const idCmdArgs &args) |
static idClass * | CreateInstance (const char *name) |
static int | GetNumTypes (void) |
static int | GetTypeNumBits (void) |
static idTypeInfo * | GetType (int num) |
Static Public Attributes | |
static const int | MAX_PVS_AREAS = 4 |
Protected Attributes | |
renderEntity_t | renderEntity |
int | modelDefHandle |
refSound_t | refSound |
Private Attributes | |
idPhysics_Static | defaultPhysicsObj |
idPhysics * | physics |
idEntity * | bindMaster |
jointHandle_t | bindJoint |
int | bindBody |
idEntity * | teamMaster |
idEntity * | teamChain |
int | numPVSAreas |
int | PVSAreas [MAX_PVS_AREAS] |
signalList_t * | signals |
int | mpGUIState |
anonymous enum |
idEntity::idEntity | ( | ) |
Definition at line 401 of file Entity.cpp.
idEntity::~idEntity | ( | void | ) |
Definition at line 608 of file Entity.cpp.
idEntity::ABSTRACT_PROTOTYPE | ( | idEntity | ) |
Definition at line 2905 of file Entity.cpp.
Definition at line 3650 of file Entity.cpp.
Definition at line 2932 of file Entity.cpp.
|
virtual |
Reimplemented in idAnimatedEntity, idAFAttachment, and idBrittleFracture.
Definition at line 3108 of file Entity.cpp.
|
virtual |
Reimplemented in idAFEntity_Base, idAFAttachment, and idBrittleFracture.
Definition at line 2896 of file Entity.cpp.
|
virtual |
Reimplemented in idAI, idAFEntity_Base, idAFAttachment, and idBrittleFracture.
Definition at line 2887 of file Entity.cpp.
Definition at line 995 of file Entity.cpp.
Definition at line 1025 of file Entity.cpp.
Definition at line 1896 of file Entity.cpp.
Definition at line 1984 of file Entity.cpp.
Definition at line 1921 of file Entity.cpp.
void idEntity::BindToJoint | ( | idEntity * | master, |
jointHandle_t | jointnum, | ||
bool | orientated | ||
) |
Definition at line 1959 of file Entity.cpp.
Definition at line 2961 of file Entity.cpp.
Reimplemented in idAI.
Definition at line 1613 of file Entity.cpp.
Definition at line 946 of file Entity.cpp.
Definition at line 1387 of file Entity.cpp.
void idEntity::ClearSignal | ( | idThread * | thread, |
signalNum_t | signalnum | ||
) |
Definition at line 3303 of file Entity.cpp.
void idEntity::ClearSignalThread | ( | signalNum_t | signalnum, |
idThread * | thread | ||
) |
Definition at line 3321 of file Entity.cpp.
Reimplemented in idPlayer, idAnimatedEntity, idWeapon, idBarrel, idLight, idBrittleFracture, idProjectile, idEntityFx, and idItem.
Definition at line 4746 of file Entity.cpp.
Reimplemented in idPlayer, idAnimatedEntity, idWeapon, idExplodingBarrel, idLight, idProjectile, idBrittleFracture, idPlayerStart, and idItem.
Definition at line 4988 of file Entity.cpp.
Definition at line 4939 of file Entity.cpp.
Reimplemented in idPlayer, idDebris, idAFEntity_Base, idProjectile, and idMoveable.
Definition at line 2868 of file Entity.cpp.
Reimplemented in idActor, and idWeapon.
Definition at line 3193 of file Entity.cpp.
Definition at line 2198 of file Entity.cpp.
|
virtual |
Reimplemented in idPlayer, idAFEntity_Gibbable, idExplodingBarrel, idActor, and idAFAttachment.
Definition at line 3061 of file Entity.cpp.
Reimplemented in idAI, and idPlayer.
Definition at line 3040 of file Entity.cpp.
Reimplemented in idWeapon.
Definition at line 3227 of file Entity.cpp.
Definition at line 904 of file Entity.cpp.
Reimplemented in idAI.
Definition at line 968 of file Entity.cpp.
Reimplemented in idAI.
Definition at line 978 of file Entity.cpp.
Definition at line 3844 of file Entity.cpp.
Definition at line 3937 of file Entity.cpp.
Definition at line 3946 of file Entity.cpp.
|
private |
Definition at line 3919 of file Entity.cpp.
Definition at line 4151 of file Entity.cpp.
Definition at line 4638 of file Entity.cpp.
Definition at line 4559 of file Entity.cpp.
Definition at line 4574 of file Entity.cpp.
Definition at line 4193 of file Entity.cpp.
Definition at line 3832 of file Entity.cpp.
Definition at line 4250 of file Entity.cpp.
Definition at line 4287 of file Entity.cpp.
Definition at line 4112 of file Entity.cpp.
Definition at line 4468 of file Entity.cpp.
Definition at line 4444 of file Entity.cpp.
Definition at line 4430 of file Entity.cpp.
Definition at line 4418 of file Entity.cpp.
Definition at line 4269 of file Entity.cpp.
Definition at line 4326 of file Entity.cpp.
Definition at line 4317 of file Entity.cpp.
Definition at line 3814 of file Entity.cpp.
Definition at line 4383 of file Entity.cpp.
Definition at line 4232 of file Entity.cpp.
Definition at line 4067 of file Entity.cpp.
Definition at line 4305 of file Entity.cpp.
Definition at line 3862 of file Entity.cpp.
Definition at line 4456 of file Entity.cpp.
Definition at line 4204 of file Entity.cpp.
Definition at line 4622 of file Entity.cpp.
Definition at line 4133 of file Entity.cpp.
Definition at line 4124 of file Entity.cpp.
Definition at line 3853 of file Entity.cpp.
Definition at line 3878 of file Entity.cpp.
Definition at line 3928 of file Entity.cpp.
Definition at line 4490 of file Entity.cpp.
Definition at line 4241 of file Entity.cpp.
Definition at line 4278 of file Entity.cpp.
Definition at line 4103 of file Entity.cpp.
Definition at line 4369 of file Entity.cpp.
Definition at line 4352 of file Entity.cpp.
Definition at line 4406 of file Entity.cpp.
Definition at line 4260 of file Entity.cpp.
Definition at line 4048 of file Entity.cpp.
Definition at line 3823 of file Entity.cpp.
Definition at line 4668 of file Entity.cpp.
Definition at line 4223 of file Entity.cpp.
Definition at line 4035 of file Entity.cpp.
Definition at line 4080 of file Entity.cpp.
Definition at line 4089 of file Entity.cpp.
Definition at line 4296 of file Entity.cpp.
Definition at line 4057 of file Entity.cpp.
Definition at line 4213 of file Entity.cpp.
Definition at line 4142 of file Entity.cpp.
Definition at line 3964 of file Entity.cpp.
Definition at line 4584 of file Entity.cpp.
Definition at line 4181 of file Entity.cpp.
Definition at line 4160 of file Entity.cpp.
Definition at line 4172 of file Entity.cpp.
Definition at line 4335 of file Entity.cpp.
Definition at line 3955 of file Entity.cpp.
Definition at line 4528 of file Entity.cpp.
Definition at line 4607 of file Entity.cpp.
Definition at line 4593 of file Entity.cpp.
Definition at line 3614 of file Entity.cpp.
Definition at line 1870 of file Entity.cpp.
|
private |
Definition at line 456 of file Entity.cpp.
Reimplemented in idLight, and idProjectile.
Definition at line 1209 of file Entity.cpp.
Reimplemented in idAFEntity_Base.
Definition at line 1197 of file Entity.cpp.
Definition at line 1787 of file Entity.cpp.
|
virtual |
Reimplemented in idAnimatedEntity.
Definition at line 1566 of file Entity.cpp.
Definition at line 2171 of file Entity.cpp.
jointHandle_t idEntity::GetBindJoint | ( | void | ) | const |
Definition at line 2162 of file Entity.cpp.
Definition at line 2153 of file Entity.cpp.
Reimplemented in idLight.
Definition at line 1104 of file Entity.cpp.
Reimplemented in idLight.
Definition at line 1128 of file Entity.cpp.
Definition at line 842 of file Entity.cpp.
Definition at line 2821 of file Entity.cpp.
|
virtual |
Reimplemented in idAFEntity_Base, and idAFAttachment.
Definition at line 2878 of file Entity.cpp.
Definition at line 1769 of file Entity.cpp.
Definition at line 2240 of file Entity.cpp.
Definition at line 2216 of file Entity.cpp.
Definition at line 2313 of file Entity.cpp.
Definition at line 1515 of file Entity.cpp.
Definition at line 875 of file Entity.cpp.
Definition at line 2189 of file Entity.cpp.
Definition at line 1363 of file Entity.cpp.
Definition at line 2607 of file Entity.cpp.
Reimplemented in idPlayer, idAnimated, idActor, and idLight.
Definition at line 2853 of file Entity.cpp.
Reimplemented in idPlayer, idAFEntity_Base, idActor, and idBarrel.
Definition at line 2844 of file Entity.cpp.
Definition at line 1375 of file Entity.cpp.
|
virtual |
Definition at line 1506 of file Entity.cpp.
|
virtual |
Reimplemented in idPlayer, idActor, idSecurityCamera, and idCamera.
Definition at line 1577 of file Entity.cpp.
Definition at line 2923 of file Entity.cpp.
const idDeclSkin * idEntity::GetSkin | ( | void | ) | const |
Definition at line 1188 of file Entity.cpp.
idSoundEmitter * idEntity::GetSoundEmitter | ( | void | ) | const |
Definition at line 1778 of file Entity.cpp.
idCurve_Spline< idVec3 > * idEntity::GetSpline | ( | void | ) | const |
Definition at line 3755 of file Entity.cpp.
Definition at line 2180 of file Entity.cpp.
Definition at line 2291 of file Entity.cpp.
Definition at line 2267 of file Entity.cpp.
Definition at line 2351 of file Entity.cpp.
Definition at line 3428 of file Entity.cpp.
Reimplemented in idPlayer, and idElevator.
Definition at line 3595 of file Entity.cpp.
bool idEntity::HasSignal | ( | signalNum_t | signalnum | ) | const |
Definition at line 3253 of file Entity.cpp.
Reimplemented in idAI, idPlayer, idDoor, idStaticEntity, idAFEntity_WithAttachedHead, idActor, idAFAttachment, idMover, and idMoveable.
Definition at line 1226 of file Entity.cpp.
Definition at line 1837 of file Entity.cpp.
Definition at line 2501 of file Entity.cpp.
Definition at line 986 of file Entity.cpp.
Definition at line 2914 of file Entity.cpp.
Definition at line 2120 of file Entity.cpp.
Definition at line 2132 of file Entity.cpp.
Definition at line 1217 of file Entity.cpp.
Definition at line 2377 of file Entity.cpp.
|
virtual |
Reimplemented in idAI, idPlayer, idDebris, idExplodingBarrel, idDamagable, idLight, idBrittleFracture, idProjectile, idMoveable, idMover, and idSecurityCamera.
Definition at line 3163 of file Entity.cpp.
|
static |
Definition at line 1548 of file Entity.cpp.
|
virtual |
Reimplemented in idAI, idActor, and idSecurityCamera.
Definition at line 3151 of file Entity.cpp.
bool idEntity::PhysicsTeamInPVS | ( | pvsHandle_t | pvsHandle | ) |
Definition at line 1398 of file Entity.cpp.
Reimplemented in idPlat, idDoor, and idMover_Binary.
Definition at line 1813 of file Entity.cpp.
Definition at line 1829 of file Entity.cpp.
Reimplemented in idPlat, idDoor, and idMover_Binary.
Definition at line 1805 of file Entity.cpp.
Reimplemented in idAFEntity_Gibbable, idBrittleFracture, idLight, idItem, idSecurityCamera, idMultiModelAF, and idCursor3D.
Definition at line 1471 of file Entity.cpp.
Definition at line 1821 of file Entity.cpp.
|
virtual |
Reimplemented in idAFEntity_WithAttachedHead, and idActor.
Definition at line 1418 of file Entity.cpp.
Definition at line 2447 of file Entity.cpp.
void idEntity::ReadBindFromSnapshot | ( | const idBitMsgDelta & | msg | ) |
Definition at line 4780 of file Entity.cpp.
void idEntity::ReadColorFromSnapshot | ( | const idBitMsgDelta & | msg | ) |
Definition at line 4832 of file Entity.cpp.
|
virtual |
Reimplemented in idPlayer, idBeam, idMover_Periodic, idFuncEmitter, idStaticEntity, idMover_Binary, idWeapon, idMoveableItem, idExplodingBarrel, idLight, idProjectile, idEntityFx, idItem, idMoveable, and idMover.
Definition at line 4886 of file Entity.cpp.
void idEntity::ReadGUIFromSnapshot | ( | const idBitMsgDelta & | msg | ) |
Definition at line 4861 of file Entity.cpp.
Definition at line 2101 of file Entity.cpp.
Definition at line 2941 of file Entity.cpp.
Definition at line 3633 of file Entity.cpp.
void idEntity::Restore | ( | idRestoreGame * | savefile | ) |
Definition at line 745 of file Entity.cpp.
Definition at line 2596 of file Entity.cpp.
Definition at line 2616 of file Entity.cpp.
void idEntity::Save | ( | idSaveGame * | savefile | ) | const |
Definition at line 667 of file Entity.cpp.
Reimplemented in idPlayer.
Definition at line 4973 of file Entity.cpp.
void idEntity::ServerSendEvent | ( | int | eventId, |
const idBitMsg * | msg, | ||
bool | saveEvent, | ||
int | excludeClient | ||
) | const |
Definition at line 4897 of file Entity.cpp.
Definition at line 2812 of file Entity.cpp.
Definition at line 2796 of file Entity.cpp.
Reimplemented in idLight.
Definition at line 1082 of file Entity.cpp.
Definition at line 1094 of file Entity.cpp.
Reimplemented in idLight.
Definition at line 1115 of file Entity.cpp.
Reimplemented in idAnimatedEntity, and idWeapon.
Definition at line 1150 of file Entity.cpp.
Definition at line 854 of file Entity.cpp.
Definition at line 2784 of file Entity.cpp.
Definition at line 2574 of file Entity.cpp.
Definition at line 1067 of file Entity.cpp.
void idEntity::SetSignal | ( | signalNum_t | signalnum, |
idThread * | thread, | ||
const function_t * | function | ||
) |
Definition at line 3266 of file Entity.cpp.
void idEntity::SetSkin | ( | const idDeclSkin * | skin | ) |
Definition at line 1178 of file Entity.cpp.
Definition at line 1740 of file Entity.cpp.
Reimplemented in idActor, idWeapon, and idTestModel.
Definition at line 3181 of file Entity.cpp.
Reimplemented in idBeam, idAI, idPlayer, idDoor, idStaticEntity, idAFEntity_WithAttachedHead, idActor, idAFAttachment, idMover, and idMoveable.
Definition at line 1239 of file Entity.cpp.
Reimplemented in idStaticEntity, idAFEntity_Base, idLight, and idSound.
Definition at line 3800 of file Entity.cpp.
void idEntity::Signal | ( | signalNum_t | signalnum | ) |
Definition at line 3352 of file Entity.cpp.
void idEntity::SignalEvent | ( | idThread * | thread, |
signalNum_t | signalnum | ||
) |
Definition at line 3390 of file Entity.cpp.
Definition at line 470 of file Entity.cpp.
bool idEntity::StartSound | ( | const char * | soundName, |
const s_channelType | channel, | ||
int | soundShaderFlags, | ||
bool | broadcast, | ||
int * | length | ||
) |
Definition at line 1622 of file Entity.cpp.
bool idEntity::StartSoundShader | ( | const idSoundShader * | shader, |
const s_channelType | channel, | ||
int | soundShaderFlags, | ||
bool | broadcast, | ||
int * | length | ||
) |
Definition at line 1656 of file Entity.cpp.
void idEntity::StopSound | ( | const s_channelType | channel, |
bool | broadcast | ||
) |
Definition at line 1713 of file Entity.cpp.
|
virtual |
Reimplemented in idPlayer, and idActor.
Definition at line 3682 of file Entity.cpp.
Reimplemented in idPhantomObjects, idEarthQuake, idBeam, idAnimatedEntity, idMover_Periodic, idAFEntity_SteamPipe, idPlat, idAI, idTextEntity, idAFEntity_VehicleSixWheels, idTarget_SetFov, idAFEntity_VehicleFourWheels, idPlayer, idFuncSmoke, idDoor, idAFEntity_VehicleSimple, idTarget_SetInfluence, idStaticEntity, idAFEntity_WithAttachedHead, idTrigger_Touch, idAFEntity_Generic, idDebris, idElevator, idForceField, idBFGProjectile, idTarget_FadeEntity, idSpring, idSoulCubeMissile, idExplodingBarrel, idMoveableItem, idAFEntity_Base, idGuidedProjectile, idTarget_WaitForButton, idBarrel, idCameraAnim, idWeapon, idActivator, idAFAttachment, idTestModel, idBrittleFracture, idProjectile, idEntityFx, idLight, idItem, idMoveable, idSound, idMultiModelAF, idCursor3D, and idSecurityCamera.
Definition at line 891 of file Entity.cpp.
Definition at line 3696 of file Entity.cpp.
Definition at line 3414 of file Entity.cpp.
Definition at line 2011 of file Entity.cpp.
Reimplemented in idAI, idActor, and idAFEntity_Base.
Definition at line 1140 of file Entity.cpp.
Reimplemented in idLight, and idSound.
Definition at line 377 of file Entity.cpp.
Definition at line 2759 of file Entity.cpp.
Definition at line 1269 of file Entity.cpp.
Definition at line 1251 of file Entity.cpp.
Definition at line 1348 of file Entity.cpp.
Definition at line 1320 of file Entity.cpp.
bool idEntity::UpdateRenderEntity | ( | renderEntity_s * | renderEntity, |
const renderView_t * | renderView | ||
) |
Definition at line 1524 of file Entity.cpp.
Definition at line 1749 of file Entity.cpp.
Definition at line 1310 of file Entity.cpp.
void idEntity::WriteBindToSnapshot | ( | idBitMsgDelta & | msg | ) | const |
Definition at line 4756 of file Entity.cpp.
void idEntity::WriteColorToSnapshot | ( | idBitMsgDelta & | msg | ) | const |
Definition at line 4817 of file Entity.cpp.
void idEntity::WriteGUIToSnapshot | ( | idBitMsgDelta & | msg | ) | const |
Definition at line 4847 of file Entity.cpp.
|
virtual |
Reimplemented in idPlayer, idBeam, idMover_Periodic, idFuncEmitter, idStaticEntity, idMover_Binary, idWeapon, idMoveableItem, idExplodingBarrel, idLight, idProjectile, idEntityFx, idItem, idMoveable, and idMover.
Definition at line 4878 of file Entity.cpp.
idLinkList<idEntity> idEntity::activeNode |
|
private |
|
private |
struct idEntity::entityFlags_s idEntity::fl |
|
private |
|
protected |
|
protected |
renderView_t* idEntity::renderView |
idScriptObject idEntity::scriptObject |
|
private |
idLinkList<idEntity> idEntity::snapshotNode |
idLinkList<idEntity> idEntity::spawnNode |
idList< idEntityPtr<idEntity> > idEntity::targets |