1.1 --- a/core/logic/intercom.h Sat Feb 16 15:52:11 2013 -0800
1.2 +++ b/core/logic/intercom.h Sat Feb 16 15:57:00 2013 -0800
1.3 @@ -42,7 +42,7 @@
1.4 * Add 1 to the RHS of this expression to bump the intercom file
1.5 * This is to prevent mismatching core/logic binaries
1.6 */
1.7 -#define SM_LOGIC_MAGIC (0x0F47C0DE - 17)
1.8 +#define SM_LOGIC_MAGIC (0x0F47C0DE - 18)
1.9
1.10 #if defined SM_LOGIC
1.11 class IVEngineServer
1.12 @@ -99,6 +99,8 @@
1.13 IPlayerManager *playerhelpers;
1.14 IAdminSystem *adminsys;
1.15 IGameHelpers *gamehelpers;
1.16 + ISourcePawnEngine *spe1;
1.17 + ISourcePawnEngine2 *spe2;
1.18 /* Functions */
1.19 void (*AddNatives)(sp_nativeinfo_t* nlist);
1.20 ConVar * (*FindConVar)(const char*);
1.21 @@ -111,7 +113,7 @@
1.22 bool (*FileExists)(const char *path);
1.23 const char * (*GetCvarString)(ConVar*);
1.24 size_t (*Format)(char*, size_t, const char*, ...);
1.25 - void (*GenerateError)(IPluginContext *, cell_t, int, const char *, ...);
1.26 + size_t (*FormatArgs)(char*, size_t, const char*,va_list ap);
1.27 bool (*gnprintf)(char *, size_t, const char *, IPhraseCollection *, void **,
1.28 unsigned int, unsigned int &, size_t *, const char **);
1.29 size_t (*atcprintf)(char *, size_t, const char *, IPluginContext *, const cell_t *, int *);
1.30 @@ -141,6 +143,8 @@
1.31 size_t (*DecodeHexString)(unsigned char *, size_t, const char *);
1.32 IGameConfig * (*GetCoreGameConfig)();
1.33 bool (*OnLogPrint)(const char *msg); // true to supercede
1.34 + IDebugListener *debugger;
1.35 + void (*GenerateError)(IPluginContext *, cell_t, int, const char *, ...);
1.36 };
1.37
1.38 typedef void (*LogicInitFunction)(const sm_core_t *core, sm_logic_t *logic);