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

#include <GameSSDWindow.h>

Public Types

enum  { CROSSHAIR_STANDARD = 0, CROSSHAIR_SUPER, CROSSHAIR_COUNT }
 

Public Member Functions

 SSDCrossHair ()
 
 ~SSDCrossHair ()
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile)
 
void InitCrosshairs ()
 
void Draw (idDeviceContext *dc, const idVec2 &cursor)
 

Public Attributes

const idMaterialcrosshairMaterial [CROSSHAIR_COUNT]
 
int currentCrosshair
 
float crosshairWidth
 
float crosshairHeight
 

Detailed Description

Definition at line 33 of file GameSSDWindow.h.

Member Enumeration Documentation

anonymous enum
Enumerator
CROSSHAIR_STANDARD 
CROSSHAIR_SUPER 
CROSSHAIR_COUNT 

Definition at line 36 of file GameSSDWindow.h.

Constructor & Destructor Documentation

SSDCrossHair::SSDCrossHair ( )

Definition at line 55 of file GameSSDWindow.cpp.

SSDCrossHair::~SSDCrossHair ( )

Definition at line 58 of file GameSSDWindow.cpp.

Member Function Documentation

void SSDCrossHair::Draw ( idDeviceContext dc,
const idVec2 cursor 
)

Definition at line 91 of file GameSSDWindow.cpp.

void SSDCrossHair::InitCrosshairs ( )

Definition at line 79 of file GameSSDWindow.cpp.

void SSDCrossHair::ReadFromSaveGame ( idFile savefile)
virtual

Definition at line 69 of file GameSSDWindow.cpp.

void SSDCrossHair::WriteToSaveGame ( idFile savefile)
virtual

Definition at line 61 of file GameSSDWindow.cpp.

Member Data Documentation

float SSDCrossHair::crosshairHeight

Definition at line 43 of file GameSSDWindow.h.

const idMaterial* SSDCrossHair::crosshairMaterial[CROSSHAIR_COUNT]

Definition at line 41 of file GameSSDWindow.h.

float SSDCrossHair::crosshairWidth

Definition at line 43 of file GameSSDWindow.h.

int SSDCrossHair::currentCrosshair

Definition at line 42 of file GameSSDWindow.h.


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