2016-02-27 10:57:10 +01:00
|
|
|
#ifndef _SQINI_MODULE_HPP_
|
|
|
|
#define _SQINI_MODULE_HPP_
|
2016-02-23 16:48:30 +01:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
2016-02-27 10:57:10 +01:00
|
|
|
#include "SqMod.h"
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
2016-02-23 16:48:30 +01:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Proxies to comunicate with the server.
|
|
|
|
*/
|
|
|
|
extern PluginFuncs* _Func;
|
|
|
|
extern PluginCallbacks* _Clbk;
|
|
|
|
extern PluginInfo* _Info;
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Proxies to comunicate with the Squirrel plugin.
|
|
|
|
*/
|
|
|
|
extern HSQAPI _SqAPI;
|
2016-02-27 10:57:10 +01:00
|
|
|
extern HSQEXPORTS _SqMod;
|
|
|
|
extern HSQUIRRELVM _SqVM;
|
2016-02-23 16:48:30 +01:00
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Output a message only if the _DEBUG was defined.
|
|
|
|
*/
|
|
|
|
void OutputDebug(const char * msg, ...);
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
2016-02-27 10:57:10 +01:00
|
|
|
* Output a formatted user message to the console.
|
2016-02-23 16:48:30 +01:00
|
|
|
*/
|
|
|
|
void OutputMessage(const char * msg, ...);
|
|
|
|
|
2016-02-27 10:57:10 +01:00
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
|
|
* Output a formatted error message to the console.
|
|
|
|
*/
|
|
|
|
void OutputError(const char * msg, ...);
|
|
|
|
|
|
|
|
} // Namespace:: SqMod
|
|
|
|
|
|
|
|
#endif // _SQINI_MODULE_HPP_
|