doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Protected Attributes | Private Attributes | List of all members
SSDPoints Class Reference

#include <GameSSDWindow.h>

Inheritance diagram for SSDPoints:
SSDEntity

Public Member Functions

 SSDPoints ()
 
 ~SSDPoints ()
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile, idGameSSDWindow *_game)
 
void Init (idGameSSDWindow *_game, SSDEntity *_ent, int _points, int _length, int _distance, const idVec4 &color)
 
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 SSDPointsGetNewPoints (idGameSSDWindow *_game, SSDEntity *_ent, int _points, int _length, int _distance, const idVec4 &color)
 
static SSDPointsGetSpecificPoints (int id)
 
static void WritePoints (idFile *savefile)
 
static void ReadPoints (idFile *savefile, idGameSSDWindow *_game)
 

Static Protected Attributes

static SSDPoints pointsPool [MAX_POINTS]
 

Private Attributes

int length
 
int distance
 
int beginTime
 
int endTime
 
idVec3 beginPosition
 
idVec3 endPosition
 
idVec4 beginColor
 
idVec4 endColor
 

Additional Inherited Members

- Public Attributes inherited from SSDEntity
int type
 
int id
 
idStr materialName
 
const idMaterialmaterial
 
idVec3 position
 
idVec2 size
 
float radius
 
float hitRadius
 
float rotation
 
idVec4 matColor
 
idStr text
 
float textScale
 
idVec4 foreColor
 
idGameSSDWindowgame
 
int currentTime
 
int lastUpdate
 
int elapsed
 
bool destroyed
 
bool noHit
 
bool noPlayerDamage
 
bool inUse
 

Detailed Description

Definition at line 273 of file GameSSDWindow.h.

Constructor & Destructor Documentation

SSDPoints::SSDPoints ( )

Definition at line 748 of file GameSSDWindow.cpp.

SSDPoints::~SSDPoints ( )

Definition at line 752 of file GameSSDWindow.cpp.

Member Function Documentation

void SSDPoints::EntityUpdate ( )
virtual

Reimplemented from SSDEntity.

Definition at line 829 of file GameSSDWindow.cpp.

SSDPoints * SSDPoints::GetNewPoints ( idGameSSDWindow _game,
SSDEntity _ent,
int  _points,
int  _length,
int  _distance,
const idVec4 color 
)
static

Definition at line 844 of file GameSSDWindow.cpp.

SSDPoints * SSDPoints::GetSpecificPoints ( int  id)
static

Definition at line 855 of file GameSSDWindow.cpp.

void SSDPoints::Init ( idGameSSDWindow _game,
SSDEntity _ent,
int  _points,
int  _length,
int  _distance,
const idVec4 color 
)

Definition at line 786 of file GameSSDWindow.cpp.

void SSDPoints::ReadFromSaveGame ( idFile savefile,
idGameSSDWindow _game 
)
virtual

Reimplemented from SSDEntity.

Definition at line 771 of file GameSSDWindow.cpp.

void SSDPoints::ReadPoints ( idFile savefile,
idGameSSDWindow _game 
)
static

Definition at line 875 of file GameSSDWindow.cpp.

void SSDPoints::WritePoints ( idFile savefile)
static

Definition at line 859 of file GameSSDWindow.cpp.

void SSDPoints::WriteToSaveGame ( idFile savefile)
virtual

Reimplemented from SSDEntity.

Definition at line 755 of file GameSSDWindow.cpp.

Member Data Documentation

idVec4 SSDPoints::beginColor
private

Definition at line 283 of file GameSSDWindow.h.

idVec3 SSDPoints::beginPosition
private

Definition at line 280 of file GameSSDWindow.h.

int SSDPoints::beginTime
private

Definition at line 277 of file GameSSDWindow.h.

int SSDPoints::distance
private

Definition at line 276 of file GameSSDWindow.h.

idVec4 SSDPoints::endColor
private

Definition at line 284 of file GameSSDWindow.h.

idVec3 SSDPoints::endPosition
private

Definition at line 281 of file GameSSDWindow.h.

int SSDPoints::endTime
private

Definition at line 278 of file GameSSDWindow.h.

int SSDPoints::length
private

Definition at line 275 of file GameSSDWindow.h.

SSDPoints SSDPoints::pointsPool
staticprotected

Definition at line 303 of file GameSSDWindow.h.


The documentation for this class was generated from the following files: