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 | Static Public Attributes | List of all members
idRegister Class Reference

#include <RegExp.h>

Public Types

enum  REGTYPE {
  VEC4 = 0, FLOAT, BOOL, INT,
  STRING, VEC2, VEC3, RECTANGLE,
  NUMTYPES, VEC4 = 0, FLOAT, BOOL,
  INT, STRING, VEC2, VEC3,
  NUMTYPES
}
 
enum  REGTYPE {
  VEC4 = 0, FLOAT, BOOL, INT,
  STRING, VEC2, VEC3, RECTANGLE,
  NUMTYPES, VEC4 = 0, FLOAT, BOOL,
  INT, STRING, VEC2, VEC3,
  NUMTYPES
}
 

Public Member Functions

 idRegister ()
 
 idRegister (const char *p, int t)
 
void SetToRegs (float *registers)
 
void GetFromRegs (float *registers)
 
void CopyRegs (idRegister *src)
 
void Enable (bool b)
 
void ReadFromDemoFile (idDemoFile *f)
 
void WriteToDemoFile (idDemoFile *f)
 
void WriteToSaveGame (idFile *savefile)
 
void ReadFromSaveGame (idFile *savefile)
 
 idRegister ()
 
 idRegister (const char *p, int t)
 
void SetToRegs (float *registers, idTypedDict *state)
 
void SetToRegList (idList< float > *registers, idTypedDict *state)
 
void GetFromRegs (float *registers, idTypedDict *state)
 
void CopyRegs (idRegister *src)
 
void Enable (bool b)
 
void ReadFromDemoFile (idDemoFile *f)
 
void WriteToDemoFile (idDemoFile *f)
 

Public Attributes

bool enabled
 
short type
 
idStr name
 
int regCount
 
unsigned short regs [4]
 
idWinVarvar
 
int type
 
int regs [4]
 

Static Public Attributes

static int REGCOUNT [NUMTYPES] = {4, 1, 1, 1, 0, 2, 3, 4}
 

Detailed Description

Definition at line 35 of file RegExp.h.

Member Enumeration Documentation

Enumerator
VEC4 
FLOAT 
BOOL 
INT 
STRING 
VEC2 
VEC3 
RECTANGLE 
NUMTYPES 
VEC4 
FLOAT 
BOOL 
INT 
STRING 
VEC2 
VEC3 
NUMTYPES 

Definition at line 40 of file RegExp.h.

Enumerator
VEC4 
FLOAT 
BOOL 
INT 
STRING 
VEC2 
VEC3 
RECTANGLE 
NUMTYPES 
VEC4 
FLOAT 
BOOL 
INT 
STRING 
VEC2 
VEC3 
NUMTYPES 

Definition at line 46 of file RegExp_old.h.

Constructor & Destructor Documentation

ID_INLINE idRegister::idRegister ( void  )

Definition at line 60 of file RegExp.h.

ID_INLINE idRegister::idRegister ( const char *  p,
int  t 
)

Definition at line 63 of file RegExp.h.

idRegister::idRegister ( void  )
inline

Definition at line 35 of file RegExp_old.h.

idRegister::idRegister ( const char *  p,
int  t 
)
inline

Definition at line 36 of file RegExp_old.h.

Member Function Documentation

ID_INLINE void idRegister::CopyRegs ( idRegister src)

Definition at line 72 of file RegExp.h.

void idRegister::CopyRegs ( idRegister src)
inline

Definition at line 53 of file RegExp_old.h.

void idRegister::Enable ( bool  b)
inline

Definition at line 53 of file RegExp.h.

void idRegister::Enable ( bool  b)
inline

Definition at line 59 of file RegExp_old.h.

void idRegister::GetFromRegs ( float registers)

Definition at line 105 of file RegExp.cpp.

void idRegister::GetFromRegs ( float registers,
idTypedDict *  state 
)
void idRegister::ReadFromDemoFile ( idDemoFile f)

Definition at line 162 of file RegExp.cpp.

void idRegister::ReadFromDemoFile ( idDemoFile f)
void idRegister::ReadFromSaveGame ( idFile savefile)

Definition at line 210 of file RegExp.cpp.

void idRegister::SetToRegList ( idList< float > *  registers,
idTypedDict *  state 
)
void idRegister::SetToRegs ( float registers)

Definition at line 44 of file RegExp.cpp.

void idRegister::SetToRegs ( float registers,
idTypedDict *  state 
)
void idRegister::WriteToDemoFile ( idDemoFile f)

Definition at line 176 of file RegExp.cpp.

void idRegister::WriteToDemoFile ( idDemoFile f)
void idRegister::WriteToSaveGame ( idFile savefile)

Definition at line 190 of file RegExp.cpp.

Member Data Documentation

bool idRegister::enabled

Definition at line 43 of file RegExp.h.

idStr idRegister::name

Definition at line 45 of file RegExp.h.

static int idRegister::REGCOUNT = {4, 1, 1, 1, 0, 2, 3, 4}
static

Definition at line 41 of file RegExp.h.

int idRegister::regCount

Definition at line 46 of file RegExp.h.

unsigned short idRegister::regs[4]

Definition at line 47 of file RegExp.h.

int idRegister::regs[4]

Definition at line 49 of file RegExp_old.h.

int idRegister::type

Definition at line 44 of file RegExp_old.h.

short idRegister::type

Definition at line 44 of file RegExp.h.

idWinVar* idRegister::var

Definition at line 48 of file RegExp.h.


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