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

Go to the source code of this file.

Classes

class  idInternalCVar
 
class  idCVarSystemLocal
 

Macros

#define NUM_COLUMNS   77
 
#define NUM_NAME_CHARS   33
 
#define NUM_DESCRIPTION_CHARS   ( NUM_COLUMNS - NUM_NAME_CHARS )
 
#define FORMAT_STRING   "%-32s "
 

Functions

const char * CreateColumn (const char *text, int columnWidth, const char *indent, idStr &string)
 
template<>
ID_INLINE int idListSortCompare (const idInternalCVar *const *a, const idInternalCVar *const *b)
 

Variables

idCVarSystemLocal localCVarSystem
 
idCVarSystemcvarSystem = &localCVarSystem
 

Macro Definition Documentation

#define FORMAT_STRING   "%-32s "

Definition at line 494 of file CVarSystem.cpp.

#define NUM_COLUMNS   77

Definition at line 491 of file CVarSystem.cpp.

#define NUM_DESCRIPTION_CHARS   ( NUM_COLUMNS - NUM_NAME_CHARS )

Definition at line 493 of file CVarSystem.cpp.

#define NUM_NAME_CHARS   33

Definition at line 492 of file CVarSystem.cpp.

Function Documentation

const char* CreateColumn ( const char *  text,
int  columnWidth,
const char *  indent,
idStr string 
)

Definition at line 496 of file CVarSystem.cpp.

template<>
ID_INLINE int idListSortCompare ( const idInternalCVar *const a,
const idInternalCVar *const b 
)

Definition at line 1061 of file CVarSystem.cpp.

Variable Documentation

idCVarSystem* cvarSystem = &localCVarSystem

Definition at line 487 of file CVarSystem.cpp.

idCVarSystemLocal localCVarSystem

Definition at line 486 of file CVarSystem.cpp.