diff -r f072596618c9 -r 25984ddd0ce0 core/sourcemod.h --- a/core/sourcemod.h Wed Feb 07 08:42:48 2007 +0000 +++ b/core/sourcemod.h Wed Feb 07 08:44:48 2007 +0000 @@ -37,8 +37,8 @@ void StartSourceMod(bool late); /** - * @brief Shuts down all SourceMod components - */ + * @brief Shuts down all SourceMod components + */ void CloseSourceMod(); /** @@ -47,8 +47,8 @@ bool LevelInit(char const *pMapName, char const *pMapEntities, char const *pOldLevel, char const *pLandmarkName, bool loadGame, bool background); /** - * @brief Level shutdown hook - */ + * @brief Level shutdown hook + */ void LevelShutdown(); /** @@ -57,15 +57,14 @@ bool IsMapLoading(); /** - * @brief Stores the global target index. - */ + * @brief Stores the global target index. + */ void SetGlobalTarget(unsigned int index); /** - * @brief Returns the global target index. - */ + * @brief Returns the global target index. + */ unsigned int GetGlobalTarget() const; - public: //ISourceMod const char *GetModPath(); const char *GetSourceModPath(); @@ -73,17 +72,20 @@ void LogMessage(IExtension *pExt, const char *format, ...); void LogError(IExtension *pExt, const char *format, ...); size_t FormatString(char *buffer, size_t maxlength, IPluginContext *pContext, const cell_t *params, unsigned int param); + void SetAuthChecking(bool set); private: /** * @brief Loading plugins */ void DoGlobalPluginLoads(); + void GameFrame(bool simulating); private: char m_SMBaseDir[PLATFORM_MAX_PATH+1]; char m_SMRelDir[PLATFORM_MAX_PATH+1]; bool m_IsMapLoading; bool m_ExecPluginReload; unsigned int m_target; + bool m_CheckingAuth; }; extern SourceModBase g_SourceMod;