1.1 --- a/core/sourcemod.h Wed Feb 07 08:42:48 2007 +0000
1.2 +++ b/core/sourcemod.h Wed Feb 07 08:44:48 2007 +0000
1.3 @@ -37,8 +37,8 @@
1.4 void StartSourceMod(bool late);
1.5
1.6 /**
1.7 - * @brief Shuts down all SourceMod components
1.8 - */
1.9 + * @brief Shuts down all SourceMod components
1.10 + */
1.11 void CloseSourceMod();
1.12
1.13 /**
1.14 @@ -47,8 +47,8 @@
1.15 bool LevelInit(char const *pMapName, char const *pMapEntities, char const *pOldLevel, char const *pLandmarkName, bool loadGame, bool background);
1.16
1.17 /**
1.18 - * @brief Level shutdown hook
1.19 - */
1.20 + * @brief Level shutdown hook
1.21 + */
1.22 void LevelShutdown();
1.23
1.24 /**
1.25 @@ -57,15 +57,14 @@
1.26 bool IsMapLoading();
1.27
1.28 /**
1.29 - * @brief Stores the global target index.
1.30 - */
1.31 + * @brief Stores the global target index.
1.32 + */
1.33 void SetGlobalTarget(unsigned int index);
1.34
1.35 /**
1.36 - * @brief Returns the global target index.
1.37 - */
1.38 + * @brief Returns the global target index.
1.39 + */
1.40 unsigned int GetGlobalTarget() const;
1.41 -
1.42 public: //ISourceMod
1.43 const char *GetModPath();
1.44 const char *GetSourceModPath();
1.45 @@ -73,17 +72,20 @@
1.46 void LogMessage(IExtension *pExt, const char *format, ...);
1.47 void LogError(IExtension *pExt, const char *format, ...);
1.48 size_t FormatString(char *buffer, size_t maxlength, IPluginContext *pContext, const cell_t *params, unsigned int param);
1.49 + void SetAuthChecking(bool set);
1.50 private:
1.51 /**
1.52 * @brief Loading plugins
1.53 */
1.54 void DoGlobalPluginLoads();
1.55 + void GameFrame(bool simulating);
1.56 private:
1.57 char m_SMBaseDir[PLATFORM_MAX_PATH+1];
1.58 char m_SMRelDir[PLATFORM_MAX_PATH+1];
1.59 bool m_IsMapLoading;
1.60 bool m_ExecPluginReload;
1.61 unsigned int m_target;
1.62 + bool m_CheckingAuth;
1.63 };
1.64
1.65 extern SourceModBase g_SourceMod;