mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(console): default final three args in CVar::Register to most commonly used values
This commit is contained in:
parent
4569886186
commit
249c34cb1f
@ -18,7 +18,7 @@ class CVar : public TSHashObject<CVar, HASHKEY_STRI> {
|
|||||||
static int32_t Load(const char* filename);
|
static int32_t Load(const char* filename);
|
||||||
static CVar* Lookup(const char* name);
|
static CVar* Lookup(const char* name);
|
||||||
static CVar* LookupRegistered(const char* name);
|
static CVar* LookupRegistered(const char* name);
|
||||||
static CVar* Register(const char* name, const char* help, uint32_t flags, const char* value, bool (*fcn)(CVar*, const char*, const char*, void*), uint32_t category, bool a7, void* arg, bool a9);
|
static CVar* Register(const char* name, const char* help, uint32_t flags, const char* value, bool (*fcn)(CVar*, const char*, const char*, void*), uint32_t category, bool a7 = false, void* arg = nullptr, bool a9 = false);
|
||||||
|
|
||||||
// Member variables
|
// Member variables
|
||||||
uint32_t m_category = 0;
|
uint32_t m_category = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user