core/mm_api.cpp
changeset 140 2c25d4131b38
parent 137 d91a2848216d
child 141 1ea0bd016431
     1.1 --- a/core/mm_api.cpp	Sat Nov 04 20:01:12 2006 +0000
     1.2 +++ b/core/mm_api.cpp	Sun Nov 05 00:29:44 2006 +0000
     1.3 @@ -2,72 +2,72 @@
     1.4  #include "mm_api.h"
     1.5  #include "sm_version.h"
     1.6  
     1.7 -SourceMod g_SourceMod;
     1.8 +SourceMod_Core g_SourceMod;
     1.9  
    1.10  PLUGIN_EXPOSE(SourceMod, g_SourceMod);
    1.11  
    1.12 -bool SourceMod::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late)
    1.13 +bool SourceMod_Core::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late)
    1.14  {
    1.15  	PLUGIN_SAVEVARS();
    1.16  
    1.17  	return true;
    1.18  }
    1.19  
    1.20 -bool SourceMod::Unload(char	*error, size_t maxlen)
    1.21 +bool SourceMod_Core::Unload(char	*error, size_t maxlen)
    1.22  {
    1.23  	return true;
    1.24  }
    1.25  
    1.26 -bool SourceMod::Pause(char *error, size_t maxlen)
    1.27 +bool SourceMod_Core::Pause(char *error, size_t maxlen)
    1.28  {
    1.29  	return true;
    1.30  }
    1.31  
    1.32 -bool SourceMod::Unpause(char *error, size_t maxlen)
    1.33 +bool SourceMod_Core::Unpause(char *error, size_t maxlen)
    1.34  {
    1.35  	return true;
    1.36  }
    1.37  
    1.38 -void SourceMod::AllPluginsLoaded()
    1.39 +void SourceMod_Core::AllPluginsLoaded()
    1.40  {
    1.41  }
    1.42  
    1.43 -const char *SourceMod::GetAuthor()
    1.44 +const char *SourceMod_Core::GetAuthor()
    1.45  {
    1.46  	return "AlliedModders, LLC";
    1.47  }
    1.48  
    1.49 -const char *SourceMod::GetName()
    1.50 +const char *SourceMod_Core::GetName()
    1.51  {
    1.52  	return "SourceMod";
    1.53  }
    1.54  
    1.55 -const char *SourceMod::GetDescription()
    1.56 +const char *SourceMod_Core::GetDescription()
    1.57  {
    1.58  	return "Extensible administration and scripting system";
    1.59  }
    1.60  
    1.61 -const char *SourceMod::GetURL()
    1.62 +const char *SourceMod_Core::GetURL()
    1.63  {
    1.64  	return "http://www.sourcemod.net/";
    1.65  }
    1.66  
    1.67 -const char *SourceMod::GetLicense()
    1.68 +const char *SourceMod_Core::GetLicense()
    1.69  {
    1.70  	return "See LICENSE.txt";
    1.71  }
    1.72  
    1.73 -const char *SourceMod::GetVersion()
    1.74 +const char *SourceMod_Core::GetVersion()
    1.75  {
    1.76  	return SOURCEMOD_VERSION;
    1.77  }
    1.78  
    1.79 -const char *SourceMod::GetDate()
    1.80 +const char *SourceMod_Core::GetDate()
    1.81  {
    1.82  	return __DATE__;
    1.83  }
    1.84  
    1.85 -const char *SourceMod::GetLogTag()
    1.86 +const char *SourceMod_Core::GetLogTag()
    1.87  {
    1.88  	return "SRCMOD";
    1.89  }