core-legacy/CSmmAPI.h
changeset 689 4065ba5e9155
parent 667 938f7325d919
child 714 966f819588a2
     1.1 --- a/core-legacy/CSmmAPI.h	Tue Nov 24 08:06:16 2009 -0600
     1.2 +++ b/core-legacy/CSmmAPI.h	Thu Dec 10 00:59:50 2009 -0600
     1.3 @@ -1,5 +1,5 @@
     1.4  /* ======== SourceMM ========
     1.5 - * Copyright (C) 2004-2008 Metamod:Source Development Team
     1.6 + * Copyright (C) 2004-2009 Metamod:Source Development Team
     1.7   * No warranties of any kind
     1.8   *
     1.9   * License: zlib/libpng
    1.10 @@ -17,15 +17,6 @@
    1.11   */
    1.12  
    1.13  #include "ISmmAPI.h"
    1.14 -#include <tier1/utldict.h>
    1.15 -
    1.16 -struct UserMessage
    1.17 -{
    1.18 -	int size;
    1.19 -	const char *name;
    1.20 -};
    1.21 -
    1.22 -typedef CUtlDict<UserMessage *, int> UserMsgDict;
    1.23  
    1.24  typedef void (*CONPRINTF_FUNC)(const char *, ...);
    1.25  
    1.26 @@ -35,7 +26,6 @@
    1.27  	{
    1.28  	public:
    1.29  		CSmmAPI();
    1.30 -		~CSmmAPI();
    1.31  	public:
    1.32  		void LogMsg(ISmmPlugin *pl, const char *msg, ...);
    1.33  	public:
    1.34 @@ -80,15 +70,12 @@
    1.35  		{
    1.36  			return m_VSP;
    1.37  		}
    1.38 -		bool CacheUserMessages();
    1.39 -		bool MsgCacheSuccessful();
    1.40 +		void CacheUserMessages();
    1.41  	private:
    1.42  		META_RES m_Res;
    1.43  		CONPRINTF_FUNC m_ConPrintf;
    1.44  		bool m_CmdCache;
    1.45  		bool m_VSP;
    1.46 -		int m_MsgCount;
    1.47 -		UserMsgDict m_UserMessages;
    1.48  	};
    1.49  };
    1.50