diff -r 9f9f98843ca8 -r c3ebd769e128 core/logic/GameConfigs.h --- a/core/logic/GameConfigs.h Sun Aug 25 01:42:15 2013 -0700 +++ b/core/logic/GameConfigs.h Sun Aug 25 01:42:16 2013 -0700 @@ -35,10 +35,10 @@ #include "common_logic.h" #include #include -#include #include "sm_memtable.h" #include #include +#include using namespace SourceMod; using namespace SourceHook; @@ -73,10 +73,10 @@ ke::AutoPtr m_pStrings; char m_File[PLATFORM_MAX_PATH]; char m_CurFile[PLATFORM_MAX_PATH]; - KTrie m_Offsets; + StringHashMap m_Offsets; KTrie m_Props; - KTrie m_Keys; - KTrie m_Sigs; + StringHashMap m_Keys; + StringHashMap m_Sigs; /* Parse states */ int m_ParseState; unsigned int m_IgnoreLevel; @@ -110,7 +110,7 @@ char m_AddressSignature[64]; int m_AddressReadCount; int m_AddressRead[8]; - ke::AutoPtr > m_pAddresses; + StringHashMap m_Addresses; const char *m_pEngine; const char *m_pBaseEngine; }; @@ -139,10 +139,9 @@ public: void RemoveCachedConfig(CGameConfig *config); private: - List m_cfgs; KTrie m_Lookup; public: - KTrie m_customHandlers; + StringHashMap m_customHandlers; }; extern GameConfigManager g_GameConfigs;