- moved gamedata out of "configs"

- added signature scanning to gameconfs
- renamed "*" to "#default" in gameconfs
- added new inheritance feature to gameconfs

--HG--
rename : configs/gamedata/core.games.txt => gamedata/core.games.txt
rename : configs/gamedata/sdktools.games.txt => gamedata/sdktools.games.txt
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40953
This commit is contained in:
David Anderson
2007-06-16 05:42:16 +00:00
parent fa92af4907
commit b706a6990c
5 changed files with 216 additions and 5 deletions
+3
View File
@@ -44,6 +44,7 @@ public: //IGameConfig
const char *GetKeyValue(const char *key);
bool GetOffset(const char *key, int *value);
SendProp *GetSendProp(const char *key);
bool GetMemSig(const char *key, void **addr);
public:
void IncRefCount();
unsigned int DecRefCount();
@@ -53,6 +54,7 @@ private:
Trie *m_pOffsets;
Trie *m_pProps;
Trie *m_pKeys;
Trie *m_pSigs;
unsigned int m_RefCount;
/* Parse states */
int m_ParseState;
@@ -61,6 +63,7 @@ private:
char m_prop[64];
char m_offset[64];
char m_mod[255];
bool bShouldBeReadingDefault;
};
class GameConfigManager :