core/sourcemod.h
author David Anderson <dvander@alliedmods.net>
Sat Nov 11 11:10:24 2006 +0000 (2006-11-11)
changeset 177 d29ade52d953
parent 162 eb6818c69d47
child 209 fae1894d884c
permissions -rw-r--r--
Fleshed out forward system and extensively documented its design considerations
Implemented and did basic tests on new IPluginFunction type
Split function types into a separate file
     1 #ifndef _INCLUDE_SOURCEMOD_GLOBALHEADER_H_
     2 #define _INCLUDE_SOURCEMOD_GLOBALHEADER_H_
     3 
     4 #include "sm_globals.h"
     5 
     6 /**
     7  * @brief Implements SourceMod's global overall management, API, and logic
     8  */
     9 
    10 class SourceModBase
    11 {
    12 public:
    13 	/**
    14 	 * @brief Initializes SourceMod, or returns an error on failure.
    15 	 */
    16 	bool InitializeSourceMod(char *error, size_t err_max, bool late);
    17 };
    18 
    19 extern SourceModBase g_SourceMod;
    20 
    21 #endif //_INCLUDE_SOURCEMOD_GLOBALHEADER_H_