mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Update KeyValues class definition (#240)
This commit is contained in:
parent
82b2b5336e
commit
5e238727e6
@ -25,6 +25,7 @@
|
||||
#include "utlvector.h"
|
||||
#include "Color.h"
|
||||
|
||||
class IKeyValuesSystem;
|
||||
class IBaseFileSystem;
|
||||
class CUtlBuffer;
|
||||
class Color;
|
||||
@ -276,10 +277,15 @@ private:
|
||||
char m_iDataType;
|
||||
char m_bHasEscapeSequences; // true, if while parsing this KeyValue, Escape Sequences are used (default false)
|
||||
char unused[2];
|
||||
|
||||
IKeyValuesSystem* m_pKeyValuesSystem;
|
||||
bool m_bHasCustomKeyvalueSystem;
|
||||
|
||||
KeyValues *m_pPeer; // pointer to next key in list
|
||||
KeyValues *m_pSub; // pointer to Start of a new sub key list
|
||||
KeyValues *m_pChain;// Search here if it's not in our list
|
||||
|
||||
void* m_pExpressionGetSymbolProc;
|
||||
};
|
||||
|
||||
enum KeyValuesUnpackDestinationTypes_t
|
||||
|
@ -301,6 +301,10 @@ void KeyValues::Init()
|
||||
|
||||
// for future proof
|
||||
memset( unused, 0, sizeof(unused) );
|
||||
|
||||
m_pKeyValuesSystem = NULL;
|
||||
m_bHasCustomKeyvalueSystem = false;
|
||||
m_pExpressionGetSymbolProc = NULL;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user