#include <c_cvars.h>
Public Member Functions |
| | cvar_t (const char *name, const char *def, DWORD flags) |
| | cvar_t (const char *name, const char *def, DWORD flags, void(*callback)(cvar_t &)) |
| virtual | ~cvar_t () |
| const char * | cstring () const |
| const char * | name () const |
| const char * | latched () const |
| float | value () const |
| | operator float () const |
| unsigned int | flags () const |
| void | Callback () |
| void | SetDefault (const char *value) |
| void | Set (const char *value) |
| void | Set (float value) |
| void | ForceSet (const char *value) |
| void | ForceSet (float value) |
| cvar_t & | operator= (float other) |
| cvar_t & | operator= (const char *other) |
| cvar_t * | GetNext () |
Static Public Member Functions |
| static void | EnableNoSet () |
| static void | EnableCallbacks () |
| static void | C_WriteCVars (byte **demo_p, DWORD filter, bool compact=false) |
| static void | C_ReadCVars (byte **demo_p) |
| static void | C_BackupCVars (void) |
| static void | C_RestoreCVars (void) |
| static cvar_t * | FindCVar (const char *var_name, cvar_t **prev) |
| static void | UnlatchCVars (void) |
| static void | C_ArchiveCVars (void *f) |
| static void | C_SetCVarsToDefaults (void) |
| static bool | SetServerVar (const char *name, const char *value) |
| static void | FilterCompactCVars (TArray< cvar_t * > &cvars, DWORD filter) |
| static cvar_t * | cvar_set (const char *var_name, const char *value) |
| static cvar_t * | cvar_forceset (const char *var_name, const char *value) |
| static void | cvarlist () |
Data Fields |
| unsigned int | m_Flags |
Protected Member Functions |
| | cvar_t () |
Constructor & Destructor Documentation
| cvar_t::cvar_t |
( |
const char * |
name, |
|
|
const char * |
def, |
|
|
DWORD |
flags |
|
) |
| |
| cvar_t::cvar_t |
( |
const char * |
name, |
|
|
const char * |
def, |
|
|
DWORD |
flags, |
|
|
void(*)(cvar_t &) |
callback |
|
) |
| |
| cvar_t::~cvar_t |
( |
| ) |
[virtual] |
| cvar_t::cvar_t |
( |
| ) |
[inline, protected] |
Member Function Documentation
| void cvar_t::C_ArchiveCVars |
( |
void * |
f | ) |
[static] |
| void cvar_t::C_BackupCVars |
( |
void |
| ) |
[static] |
| void cvar_t::C_ReadCVars |
( |
byte ** |
demo_p | ) |
[static] |
| void cvar_t::C_RestoreCVars |
( |
void |
| ) |
[static] |
| void cvar_t::C_SetCVarsToDefaults |
( |
void |
| ) |
[static] |
| void cvar_t::C_WriteCVars |
( |
byte ** |
demo_p, |
|
|
DWORD |
filter, |
|
|
bool |
compact = false |
|
) |
| [static] |
| void cvar_t::Callback |
( |
| ) |
[inline] |
| const char* cvar_t::cstring |
( |
| ) |
const [inline] |
| cvar_t * cvar_t::cvar_forceset |
( |
const char * |
var_name, |
|
|
const char * |
value |
|
) |
| [static] |
| cvar_t * cvar_t::cvar_set |
( |
const char * |
var_name, |
|
|
const char * |
value |
|
) |
| [static] |
| void cvar_t::cvarlist |
( |
| ) |
[static] |
| void cvar_t::EnableCallbacks |
( |
| ) |
[static] |
| void cvar_t::EnableNoSet |
( |
| ) |
[static] |
| void cvar_t::FilterCompactCVars |
( |
TArray< cvar_t * > & |
cvars, |
|
|
DWORD |
filter |
|
) |
| [static] |
| cvar_t * cvar_t::FindCVar |
( |
const char * |
var_name, |
|
|
cvar_t ** |
prev |
|
) |
| [static] |
| unsigned int cvar_t::flags |
( |
| ) |
const [inline] |
| void cvar_t::ForceSet |
( |
const char * |
value | ) |
|
| void cvar_t::ForceSet |
( |
float |
value | ) |
|
| cvar_t* cvar_t::GetNext |
( |
| ) |
[inline] |
| const char* cvar_t::latched |
( |
| ) |
const [inline] |
| const char* cvar_t::name |
( |
| ) |
const [inline] |
| cvar_t::operator float |
( |
| ) |
const [inline] |
| cvar_t& cvar_t::operator= |
( |
float |
other | ) |
[inline] |
| cvar_t& cvar_t::operator= |
( |
const char * |
other | ) |
[inline] |
| void cvar_t::Set |
( |
const char * |
value | ) |
|
| void cvar_t::Set |
( |
float |
value | ) |
|
| void cvar_t::SetDefault |
( |
const char * |
value | ) |
|
| static bool cvar_t::SetServerVar |
( |
const char * |
name, |
|
|
const char * |
value |
|
) |
| [static] |
| void cvar_t::UnlatchCVars |
( |
void |
| ) |
[static] |
| float cvar_t::value |
( |
| ) |
const [inline] |
Field Documentation
The documentation for this class was generated from the following files: