Fixed CPlayer init, it was called too early.
nothing important on the logger
1 #ifndef _INCLUDE_SOURCEMOD_GLOBALHEADER_H_
2 #define _INCLUDE_SOURCEMOD_GLOBALHEADER_H_
4 #include "sm_globals.h"
7 * @brief Implements SourceMod's global overall management, API, and logic
16 * @brief Initializes SourceMod, or returns an error on failure.
18 bool InitializeSourceMod(char *error, size_t err_max, bool late);
21 * @brief Starts everything SourceMod needs to run
23 void StartSourceMod(bool late);
26 * @brief Map change hook
28 bool LevelInit(char const *pMapName, char const *pMapEntities, char const *pOldLevel, char const *pLandmarkName, bool loadGame, bool background);
31 * @brief Returns whether or not a mapload is in progress
36 * @brief Returns the base SourceMod folder.
38 const char *GetSMBaseDir();
41 * @brief Returns the base folder for file natives.
43 const char *GetBaseDir();
46 * @brief Returns whether our load in this map is late.
48 bool IsLateLoadInMap();
51 * @brief Loading plugins
53 void DoGlobalPluginLoads();
55 char m_SMBaseDir[PLATFORM_MAX_PATH+1];
57 bool m_IsLateLoadInMap;
60 extern SourceModBase g_SourceMod;
62 #endif //_INCLUDE_SOURCEMOD_GLOBALHEADER_H_