mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(profile): add more work related to console
This commit is contained in:
parent
08b49c5197
commit
e95eb3354d
49 changed files with 9188 additions and 245 deletions
28
profile/3.3.5a-windows-386/include/console/var.h
Normal file
28
profile/3.3.5a-windows-386/include/console/var.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef CONSOLE_VAR_H
|
||||
#define CONSOLE_VAR_H
|
||||
|
||||
DECLARE_STRUCT(CVar);
|
||||
|
||||
#include "common/rcstring.h"
|
||||
#include "storm/hash.h"
|
||||
|
||||
STORM_TS_HASH(CVar, HASHKEY_STRI);
|
||||
|
||||
// class CVar : public TSHashObject<CVar, HASHKEY_STRI>
|
||||
struct CVar {
|
||||
TSHashObject_CVar_HASHKEY_STRI b_base;
|
||||
uint32_t m_category;
|
||||
uint32_t m_flags;
|
||||
RCString m_stringValue;
|
||||
float m_floatValue;
|
||||
int32_t m_intValue;
|
||||
int32_t m_modified;
|
||||
RCString m_defaultValue;
|
||||
RCString m_resetValue;
|
||||
RCString m_latchedValue;
|
||||
RCString m_help;
|
||||
bool (*m_callback)(CVar*, const char*, const char*, void*);
|
||||
void* m_arg;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue