2006-11-08 07:30:20 +01:00
|
|
|
#ifndef _INCLUDE_SOURCEMOD_GLOBALHEADER_H_
|
|
|
|
#define _INCLUDE_SOURCEMOD_GLOBALHEADER_H_
|
|
|
|
|
2006-11-08 08:32:44 +01:00
|
|
|
#include "sm_globals.h"
|
2006-11-08 07:30:20 +01:00
|
|
|
|
2006-11-08 08:44:26 +01:00
|
|
|
/**
|
|
|
|
* @brief Implements SourceMod's global overall management, API, and logic
|
|
|
|
*/
|
|
|
|
|
2006-11-08 08:32:44 +01:00
|
|
|
class SourceModBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* @brief Initializes SourceMod, or returns an error on failure.
|
|
|
|
*/
|
|
|
|
bool InitializeSourceMod(char *error, size_t err_max, bool late);
|
|
|
|
};
|
|
|
|
|
|
|
|
extern SourceModBase g_SourceMod;
|
2006-11-08 07:30:20 +01:00
|
|
|
|
|
|
|
#endif //_INCLUDE_SOURCEMOD_GLOBALHEADER_H_
|