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

#include <GameSSDWindow.h>

Inheritance diagram for SSDMover:
SSDEntity SSDAsteroid SSDAstronaut SSDPowerup

Public Member Functions

 SSDMover ()
 
virtual ~SSDMover ()
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile, idGameSSDWindow *_game)
 
void MoverInit (const idVec3 &_speed, float _rotationSpeed)
 
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)
 

Public Attributes

idVec3 speed
 
float rotationSpeed
 
- 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 138 of file GameSSDWindow.h.

Constructor & Destructor Documentation

SSDMover::SSDMover ( )

Definition at line 344 of file GameSSDWindow.cpp.

SSDMover::~SSDMover ( )
virtual

Definition at line 347 of file GameSSDWindow.cpp.

Member Function Documentation

void SSDMover::EntityUpdate ( )
virtual

Reimplemented from SSDEntity.

Reimplemented in SSDAsteroid.

Definition at line 370 of file GameSSDWindow.cpp.

void SSDMover::MoverInit ( const idVec3 _speed,
float  _rotationSpeed 
)

Definition at line 364 of file GameSSDWindow.cpp.

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

Reimplemented from SSDEntity.

Reimplemented in SSDPowerup, SSDAstronaut, and SSDAsteroid.

Definition at line 357 of file GameSSDWindow.cpp.

void SSDMover::WriteToSaveGame ( idFile savefile)
virtual

Reimplemented from SSDEntity.

Reimplemented in SSDPowerup, SSDAstronaut, and SSDAsteroid.

Definition at line 350 of file GameSSDWindow.cpp.

Member Data Documentation

float SSDMover::rotationSpeed

Definition at line 142 of file GameSSDWindow.h.

idVec3 SSDMover::speed

Definition at line 141 of file GameSSDWindow.h.


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