doom3-gpl
Doom 3 GPL source release
|
#include <Weapon.h>
Public Types | |
enum | { EVENT_RELOAD = idEntity::EVENT_MAXEVENTS, EVENT_ENDRELOAD, EVENT_CHANGESKIN, EVENT_MAXEVENTS } |
Public Types inherited from idAnimatedEntity | |
enum | { EVENT_ADD_DAMAGE_EFFECT = idEntity::EVENT_MAXEVENTS, EVENT_MAXEVENTS } |
Public Types inherited from idEntity | |
enum | { EVENT_STARTSOUNDSHADER, EVENT_STOPSOUNDSHADER, EVENT_MAXEVENTS } |
Static Public Member Functions | |
static void | CacheWeapon (const char *weaponName) |
static ammo_t | GetAmmoNumForName (const char *ammoname) |
static const char * | GetAmmoNameForNum (ammo_t ammonum) |
static const char * | GetAmmoPickupNameForNum (ammo_t ammonum) |
Static Public Member Functions inherited from idEntity | |
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) |
Additional Inherited Members | |
Public Attributes inherited from idEntity | |
int | entityNumber |
int | entityDefNumber |
idLinkList< idEntity > | spawnNode |
idLinkList< idEntity > | activeNode |
idLinkList< idEntity > | snapshotNode |
int | snapshotSequence |
int | snapshotBits |
idStr | name |
idDict | spawnArgs |
idScriptObject | scriptObject |
int | thinkFlags |
int | dormantStart |
bool | cinematic |
renderView_t * | renderView |
idEntity * | cameraTarget |
idList< idEntityPtr< idEntity > > | targets |
int | health |
struct idEntity::entityFlags_s | fl |
Static Public Attributes inherited from idEntity | |
static const int | MAX_PVS_AREAS = 4 |
Protected Attributes inherited from idAnimatedEntity | |
idAnimator | animator |
damageEffect_t * | damageEffects |
Protected Attributes inherited from idEntity | |
renderEntity_t | renderEntity |
int | modelDefHandle |
refSound_t | refSound |
anonymous enum |
END_CLASS idWeapon::idWeapon | ( | ) |
Definition at line 150 of file Weapon.cpp.
|
virtual |
Definition at line 187 of file Weapon.cpp.
Definition at line 2104 of file Weapon.cpp.
Definition at line 2583 of file Weapon.cpp.
Definition at line 2596 of file Weapon.cpp.
Definition at line 2641 of file Weapon.cpp.
Definition at line 1679 of file Weapon.cpp.
Definition at line 1911 of file Weapon.cpp.
Definition at line 250 of file Weapon.cpp.
Definition at line 1754 of file Weapon.cpp.
idWeapon::CLASS_PROTOTYPE | ( | idWeapon | ) |
Definition at line 677 of file Weapon.cpp.
Reimplemented from idAnimatedEntity.
Definition at line 3936 of file Weapon.cpp.
Reimplemented from idAnimatedEntity.
Definition at line 2724 of file Weapon.cpp.
Definition at line 2623 of file Weapon.cpp.
Reimplemented from idEntity.
Definition at line 2011 of file Weapon.cpp.
Reimplemented from idEntity.
Definition at line 2039 of file Weapon.cpp.
idEntity * idWeapon::DropItem | ( | const idVec3 & | velocity, |
int | activateDelay, | ||
int | removeDelay, | ||
bool | died | ||
) |
Definition at line 1791 of file Weapon.cpp.
Definition at line 1701 of file Weapon.cpp.
Definition at line 2350 of file Weapon.cpp.
Definition at line 2907 of file Weapon.cpp.
Definition at line 3867 of file Weapon.cpp.
Definition at line 2955 of file Weapon.cpp.
Definition at line 2945 of file Weapon.cpp.
Definition at line 3086 of file Weapon.cpp.
Definition at line 2990 of file Weapon.cpp.
Definition at line 2769 of file Weapon.cpp.
Definition at line 2981 of file Weapon.cpp.
Definition at line 3254 of file Weapon.cpp.
Definition at line 3882 of file Weapon.cpp.
Definition at line 3158 of file Weapon.cpp.
Definition at line 3108 of file Weapon.cpp.
Definition at line 3173 of file Weapon.cpp.
Definition at line 2778 of file Weapon.cpp.
Definition at line 3858 of file Weapon.cpp.
Definition at line 3923 of file Weapon.cpp.
|
private |
Definition at line 3274 of file Weapon.cpp.
Definition at line 3722 of file Weapon.cpp.
Definition at line 3016 of file Weapon.cpp.
Definition at line 3004 of file Weapon.cpp.
Definition at line 3117 of file Weapon.cpp.
Definition at line 3028 of file Weapon.cpp.
Definition at line 3058 of file Weapon.cpp.
Definition at line 3099 of file Weapon.cpp.
Definition at line 3186 of file Weapon.cpp.
Definition at line 3201 of file Weapon.cpp.
Definition at line 3127 of file Weapon.cpp.
Definition at line 2971 of file Weapon.cpp.
Definition at line 2888 of file Weapon.cpp.
Definition at line 2850 of file Weapon.cpp.
Definition at line 2875 of file Weapon.cpp.
Definition at line 2829 of file Weapon.cpp.
Definition at line 2813 of file Weapon.cpp.
Definition at line 2841 of file Weapon.cpp.
Definition at line 2862 of file Weapon.cpp.
Definition at line 2787 of file Weapon.cpp.
Definition at line 2380 of file Weapon.cpp.
Definition at line 2498 of file Weapon.cpp.
Definition at line 2445 of file Weapon.cpp.
Definition at line 2552 of file Weapon.cpp.
Definition at line 2614 of file Weapon.cpp.
bool idWeapon::GetGlobalJointTransform | ( | bool | viewModel, |
const jointHandle_t | jointHandle, | ||
idVec3 & | offset, | ||
idMat3 & | axis | ||
) |
Definition at line 1477 of file Weapon.cpp.
Definition at line 2417 of file Weapon.cpp.
Definition at line 925 of file Weapon.cpp.
Definition at line 2428 of file Weapon.cpp.
Definition at line 2408 of file Weapon.cpp.
Definition at line 1601 of file Weapon.cpp.
Definition at line 1629 of file Weapon.cpp.
Definition at line 1285 of file Weapon.cpp.
|
private |
Definition at line 879 of file Weapon.cpp.
Definition at line 1736 of file Weapon.cpp.
Definition at line 1718 of file Weapon.cpp.
Definition at line 1727 of file Weapon.cpp.
Definition at line 2632 of file Weapon.cpp.
Definition at line 1563 of file Weapon.cpp.
Definition at line 1387 of file Weapon.cpp.
Definition at line 1976 of file Weapon.cpp.
Definition at line 2396 of file Weapon.cpp.
Definition at line 1651 of file Weapon.cpp.
Definition at line 2150 of file Weapon.cpp.
Definition at line 1539 of file Weapon.cpp.
Definition at line 1528 of file Weapon.cpp.
Definition at line 1581 of file Weapon.cpp.
|
virtual |
Reimplemented from idEntity.
Definition at line 2692 of file Weapon.cpp.
Definition at line 1552 of file Weapon.cpp.
Definition at line 2605 of file Weapon.cpp.
void idWeapon::Restore | ( | idRestoreGame * | savefile | ) |
Definition at line 444 of file Weapon.cpp.
void idWeapon::Save | ( | idSaveGame * | savefile | ) | const |
Definition at line 287 of file Weapon.cpp.
Reimplemented from idAnimatedEntity.
Definition at line 1448 of file Weapon.cpp.
Definition at line 223 of file Weapon.cpp.
Definition at line 1503 of file Weapon.cpp.
Definition at line 1819 of file Weapon.cpp.
Reimplemented from idEntity.
Definition at line 241 of file Weapon.cpp.
Definition at line 1745 of file Weapon.cpp.
Definition at line 1614 of file Weapon.cpp.
Definition at line 1640 of file Weapon.cpp.
Definition at line 198 of file Weapon.cpp.
Reimplemented from idAnimatedEntity.
Definition at line 1519 of file Weapon.cpp.
Definition at line 1366 of file Weapon.cpp.
Definition at line 1294 of file Weapon.cpp.
Definition at line 1855 of file Weapon.cpp.
Definition at line 2071 of file Weapon.cpp.
Definition at line 1423 of file Weapon.cpp.
Definition at line 1770 of file Weapon.cpp.
|
virtual |
Reimplemented from idEntity.
Definition at line 2680 of file Weapon.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |