doom3-gpl
Doom 3 GPL source release
|
#include <GameSSDWindow.h>
Public Member Functions | |
SSDProjectile () | |
~SSDProjectile () | |
virtual void | WriteToSaveGame (idFile *savefile) |
virtual void | ReadFromSaveGame (idFile *savefile, idGameSSDWindow *_game) |
void | Init (idGameSSDWindow *_game, const idVec3 &_beginPosition, const idVec3 &_endPosition, float _speed, float _size) |
virtual void | EntityUpdate () |
Public Member Functions inherited from SSDEntity | |
SSDEntity () | |
virtual | ~SSDEntity () |
void | EntityInit () |
void | SetGame (idGameSSDWindow *_game) |
void | SetMaterial (const char *_name) |
void | SetPosition (const idVec3 &_position) |
void | SetSize (const idVec2 &_size) |
void | SetRadius (float _radius, float _hitFactor=1.0f) |
void | SetRotation (float _rotation) |
void | Update () |
bool | HitTest (const idVec2 &pt) |
virtual void | Draw (idDeviceContext *dc) |
virtual void | DestroyEntity () |
virtual void | OnHit (int key) |
virtual void | OnStrikePlayer () |
idBounds | WorldToScreen (const idBounds worldBounds) |
idVec3 | WorldToScreen (const idVec3 &worldPos) |
idVec3 | ScreenToWorld (const idVec3 &screenPos) |
Static Public Member Functions | |
static SSDProjectile * | GetNewProjectile (idGameSSDWindow *_game, const idVec3 &_beginPosition, const idVec3 &_endPosition, float _speed, float _size) |
static SSDProjectile * | GetSpecificProjectile (int id) |
static void | WriteProjectiles (idFile *savefile) |
static void | ReadProjectiles (idFile *savefile, idGameSSDWindow *_game) |
Static Protected Attributes | |
static SSDProjectile | projectilePool [MAX_PROJECTILES] |
Private Attributes | |
idVec3 | dir |
idVec3 | speed |
int | beginTime |
int | endTime |
idVec3 | endPosition |
Additional Inherited Members | |
Public Attributes inherited from SSDEntity | |
int | type |
int | id |
idStr | materialName |
const idMaterial * | material |
idVec3 | position |
idVec2 | size |
float | radius |
float | hitRadius |
float | rotation |
idVec4 | matColor |
idStr | text |
float | textScale |
idVec4 | foreColor |
idGameSSDWindow * | game |
int | currentTime |
int | lastUpdate |
int | elapsed |
bool | destroyed |
bool | noHit |
bool | noPlayerDamage |
bool | inUse |
Definition at line 308 of file GameSSDWindow.h.
SSDProjectile::SSDProjectile | ( | ) |
Definition at line 897 of file GameSSDWindow.cpp.
SSDProjectile::~SSDProjectile | ( | ) |
Definition at line 901 of file GameSSDWindow.cpp.
|
virtual |
Reimplemented from SSDEntity.
Definition at line 947 of file GameSSDWindow.cpp.
|
static |
Definition at line 961 of file GameSSDWindow.cpp.
|
static |
Definition at line 972 of file GameSSDWindow.cpp.
void SSDProjectile::Init | ( | idGameSSDWindow * | _game, |
const idVec3 & | _beginPosition, | ||
const idVec3 & | _endPosition, | ||
float | _speed, | ||
float | _size | ||
) |
Definition at line 926 of file GameSSDWindow.cpp.
|
virtual |
Reimplemented from SSDEntity.
Definition at line 915 of file GameSSDWindow.cpp.
|
static |
Definition at line 992 of file GameSSDWindow.cpp.
Definition at line 976 of file GameSSDWindow.cpp.
Reimplemented from SSDEntity.
Definition at line 904 of file GameSSDWindow.cpp.
|
private |
Definition at line 312 of file GameSSDWindow.h.
|
private |
Definition at line 310 of file GameSSDWindow.h.
|
private |
Definition at line 315 of file GameSSDWindow.h.
|
private |
Definition at line 313 of file GameSSDWindow.h.
|
staticprotected |
Definition at line 333 of file GameSSDWindow.h.
|
private |
Definition at line 311 of file GameSSDWindow.h.