doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Functions
TypeInfo.cpp File Reference
#include "../../idlib/precompiled.h"
#include "../Game_local.h"
#include "NoGameTypeInfo.h"

Go to the source code of this file.

Classes

class  idTypeInfoTools
 

Macros

#define private   public
 
#define protected   public
 

Typedefs

typedef void(* WriteVariableType_t )(const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value, const void *varPtr, int varSize)
 

Functions

const char * GetTypeVariableName (const char *typeName, int offset)
 
bool IsAllowedToChangedFromSaveGames (const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value)
 
bool IsRenderHandleVariable (const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value)
 
void WriteGameState_f (const idCmdArgs &args)
 
void CompareGameState_f (const idCmdArgs &args)
 
void TestSaveGame_f (const idCmdArgs &args)
 
void WriteTypeToFile (idFile *fp, const void *typePtr, const char *typeName)
 
void PrintType (const void *typePtr, const char *typeName)
 
void InitTypeVariables (const void *typePtr, const char *typeName, int value)
 
int SortTypeInfoByName (const int *a, const int *b)
 
int SortTypeInfoBySize (const int *a, const int *b)
 
void ListTypeInfo_f (const idCmdArgs &args)
 

Macro Definition Documentation

#define private   public

Definition at line 30 of file TypeInfo.cpp.

#define protected   public

Definition at line 31 of file TypeInfo.cpp.

Typedef Documentation

typedef void(* WriteVariableType_t)(const char *varName, const char *varType, const char *scope, const char *prefix, const char *postfix, const char *value, const void *varPtr, int varSize)

Definition at line 48 of file TypeInfo.cpp.

Function Documentation

void CompareGameState_f ( const idCmdArgs args)

Definition at line 1325 of file TypeInfo.cpp.

const char* GetTypeVariableName ( const char *  typeName,
int  offset 
)

Definition at line 92 of file TypeInfo.cpp.

void InitTypeVariables ( const void typePtr,
const char *  typeName,
int  value 
)

Definition at line 1389 of file TypeInfo.cpp.

bool IsAllowedToChangedFromSaveGames ( const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const char *  postfix,
const char *  value 
)

Definition at line 291 of file TypeInfo.cpp.

bool IsRenderHandleVariable ( const char *  varName,
const char *  varType,
const char *  scope,
const char *  prefix,
const char *  postfix,
const char *  value 
)

Definition at line 347 of file TypeInfo.cpp.

void ListTypeInfo_f ( const idCmdArgs args)

Definition at line 1412 of file TypeInfo.cpp.

void PrintType ( const void typePtr,
const char *  typeName 
)

Definition at line 1380 of file TypeInfo.cpp.

int SortTypeInfoByName ( const int a,
const int b 
)

Definition at line 1398 of file TypeInfo.cpp.

int SortTypeInfoBySize ( const int a,
const int b 
)

Definition at line 1402 of file TypeInfo.cpp.

void TestSaveGame_f ( const idCmdArgs args)

Definition at line 1343 of file TypeInfo.cpp.

void WriteGameState_f ( const idCmdArgs args)

Definition at line 1307 of file TypeInfo.cpp.

void WriteTypeToFile ( idFile fp,
const void typePtr,
const char *  typeName 
)

Definition at line 1371 of file TypeInfo.cpp.