1.1 --- a/sourcemm/metamod.h Fri Oct 05 19:53:57 2007 +0000
1.2 +++ b/sourcemm/metamod.h Sat Oct 06 15:47:59 2007 +0000
1.3 @@ -51,23 +51,23 @@
1.4 */
1.5 #define SOURCEMM_VERSION SVN_FILE_VERSION_STRING
1.6 #define SOURCEMM_DATE __DATE__
1.7 -#define SM_VERS_API_MAJOR 1 //increase this on a breaking change
1.8 -#define SM_VERS_API_MINOR 7 //increase this on a non-breaking API change
1.9 +#define SM_VERS_API_MAJOR 2 //increase this on a breaking change
1.10 +#define SM_VERS_API_MINOR 0 //increase this on a non-breaking API change
1.11
1.12 class MetamodSource : public ISmmAPI
1.13 {
1.14 public:
1.15 void LogMsg(ISmmPlugin *pl, const char *msg, ...);
1.16 - CreateInterfaceFn engineFactory(bool syn=true);
1.17 - CreateInterfaceFn physicsFactory(bool syn=true);
1.18 - CreateInterfaceFn fileSystemFactory(bool syn=true);
1.19 - CreateInterfaceFn serverFactory(bool syn=true);
1.20 - CGlobalVars *pGlobals();
1.21 + CreateInterfaceFn GetEngineFactory(bool syn=true);
1.22 + CreateInterfaceFn GetPhysicsFactory(bool syn=true);
1.23 + CreateInterfaceFn GetFileSystemFactory(bool syn=true);
1.24 + CreateInterfaceFn GetServerFactory(bool syn=true);
1.25 + CGlobalVars *GetCGlobals();
1.26 void SetLastMetaReturn(META_RES res);
1.27 META_RES GetLastMetaReturn();
1.28 IConCommandBaseAccessor *GetCvarBaseAccessor();
1.29 - bool RegisterConCmdBase(ISmmPlugin *plugin, ConCommandBase *pCommand);
1.30 - void UnregisterConCmdBase(ISmmPlugin *plugin, ConCommandBase *pCommand);
1.31 + bool RegisterConCommandBase(ISmmPlugin *plugin, ConCommandBase *pCommand);
1.32 + void UnregisterConCommandBase(ISmmPlugin *plugin, ConCommandBase *pCommand);
1.33 void ConPrint(const char *str);
1.34 void ConPrintf(const char *fmt, ...);
1.35 bool RemotePrintingAvailable();