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

#include <PlayerView.h>

Public Member Functions

 idPlayerView ()
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
void SetPlayerEntity (class idPlayer *playerEnt)
 
void ClearEffects (void)
 
void DamageImpulse (idVec3 localKickDir, const idDict *damageDef)
 
void WeaponFireFeedback (const idDict *weaponDef)
 
idAngles AngleOffset (void) const
 
idMat3 ShakeAxis (void) const
 
void CalculateShake (void)
 
void RenderPlayerView (idUserInterface *hud)
 
void Fade (idVec4 color, int time)
 
void Flash (idVec4 color, int time)
 
void AddBloodSpray (float duration)
 
void EnableBFGVision (bool b)
 

Public Attributes

int dvFinishTime
 
const idMaterialdvMaterial
 
int kickFinishTime
 
idAngles kickAngles
 
bool bfgVision
 
const idMaterialtunnelMaterial
 
const idMaterialarmorMaterial
 
const idMaterialberserkMaterial
 
const idMaterialirGogglesMaterial
 
const idMaterialbloodSprayMaterial
 
const idMaterialbfgMaterial
 
const idMateriallagoMaterial
 
float lastDamageTime
 
idVec4 fadeColor
 
idVec4 fadeToColor
 
idVec4 fadeFromColor
 
float fadeRate
 
int fadeTime
 
idAngles shakeAng
 
idPlayerplayer
 
renderView_t view
 

Private Member Functions

void SingleView (idUserInterface *hud, const renderView_t *view)
 
void ScreenFade ()
 
screenBlob_tGetScreenBlob ()
 

Private Attributes

screenBlob_t screenBlobs [MAX_SCREEN_BLOBS]
 

Detailed Description

Definition at line 349 of file PlayerView.h.

Constructor & Destructor Documentation

idPlayerView::idPlayerView ( )

Definition at line 51 of file PlayerView.cpp.

Member Function Documentation

void idPlayerView::AddBloodSpray ( float  duration)

Definition at line 338 of file PlayerView.cpp.

idAngles idPlayerView::AngleOffset ( void  ) const

Definition at line 435 of file PlayerView.cpp.

void idPlayerView::CalculateShake ( void  )

Definition at line 404 of file PlayerView.cpp.

void idPlayerView::ClearEffects ( void  )

Definition at line 214 of file PlayerView.cpp.

void idPlayerView::DamageImpulse ( idVec3  localKickDir,
const idDict damageDef 
)

Definition at line 252 of file PlayerView.cpp.

void idPlayerView::EnableBFGVision ( bool  b)
inline

Definition at line 381 of file PlayerView.h.

void idPlayerView::Fade ( idVec4  color,
int  time 
)

Definition at line 617 of file PlayerView.cpp.

void idPlayerView::Flash ( idVec4  color,
int  time 
)

Definition at line 604 of file PlayerView.cpp.

screenBlob_t * idPlayerView::GetScreenBlob ( )
private

Definition at line 233 of file PlayerView.cpp.

void idPlayerView::RenderPlayerView ( idUserInterface hud)

Definition at line 684 of file PlayerView.cpp.

void idPlayerView::Restore ( idRestoreGame savefile)

Definition at line 148 of file PlayerView.cpp.

void idPlayerView::Save ( idSaveGame savefile) const

Definition at line 91 of file PlayerView.cpp.

void idPlayerView::ScreenFade ( )
private

Definition at line 649 of file PlayerView.cpp.

void idPlayerView::SetPlayerEntity ( class idPlayer playerEnt)

Definition at line 205 of file PlayerView.cpp.

idMat3 idPlayerView::ShakeAxis ( void  ) const

Definition at line 424 of file PlayerView.cpp.

void idPlayerView::SingleView ( idUserInterface hud,
const renderView_t view 
)
private

Definition at line 461 of file PlayerView.cpp.

void idPlayerView::WeaponFireFeedback ( const idDict weaponDef)

Definition at line 384 of file PlayerView.cpp.

Member Data Documentation

const idMaterial* idPlayerView::armorMaterial

Definition at line 401 of file PlayerView.h.

const idMaterial* idPlayerView::berserkMaterial

Definition at line 402 of file PlayerView.h.

const idMaterial* idPlayerView::bfgMaterial

Definition at line 405 of file PlayerView.h.

bool idPlayerView::bfgVision

Definition at line 398 of file PlayerView.h.

const idMaterial* idPlayerView::bloodSprayMaterial

Definition at line 404 of file PlayerView.h.

int idPlayerView::dvFinishTime

Definition at line 392 of file PlayerView.h.

const idMaterial* idPlayerView::dvMaterial

Definition at line 393 of file PlayerView.h.

idVec4 idPlayerView::fadeColor

Definition at line 409 of file PlayerView.h.

idVec4 idPlayerView::fadeFromColor

Definition at line 411 of file PlayerView.h.

float idPlayerView::fadeRate

Definition at line 412 of file PlayerView.h.

int idPlayerView::fadeTime

Definition at line 413 of file PlayerView.h.

idVec4 idPlayerView::fadeToColor

Definition at line 410 of file PlayerView.h.

const idMaterial* idPlayerView::irGogglesMaterial

Definition at line 403 of file PlayerView.h.

idAngles idPlayerView::kickAngles

Definition at line 396 of file PlayerView.h.

int idPlayerView::kickFinishTime

Definition at line 395 of file PlayerView.h.

const idMaterial* idPlayerView::lagoMaterial

Definition at line 406 of file PlayerView.h.

float idPlayerView::lastDamageTime

Definition at line 407 of file PlayerView.h.

idPlayer* idPlayerView::player

Definition at line 417 of file PlayerView.h.

screenBlob_t idPlayerView::screenBlobs[MAX_SCREEN_BLOBS]
private

Definition at line 389 of file PlayerView.h.

idAngles idPlayerView::shakeAng

Definition at line 415 of file PlayerView.h.

const idMaterial* idPlayerView::tunnelMaterial

Definition at line 400 of file PlayerView.h.

renderView_t idPlayerView::view

Definition at line 418 of file PlayerView.h.


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