- 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
+11 -1
View File
@@ -27,7 +27,7 @@
*/
#define SMINTERFACE_GAMECONFIG_NAME "IGameConfigManager"
#define SMINTERFACE_GAMECONFIG_VERSION 1
#define SMINTERFACE_GAMECONFIG_VERSION 2
class SendProp;
@@ -63,6 +63,16 @@ namespace SourceMod
* @return String containing the value, or NULL if not found.
*/
virtual const char *GetKeyValue(const char *key) =0;
/**
* @brief Retrieves a cached memory signature.
*
* @param key Name of the signature.
* @param addr Pointer to store the memory address in.
* @return A MemorySignature pointer on success, or NULL
* if the key was not found.
*/
virtual bool GetMemSig(const char *key, void **addr) =0;
};
/**