1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/lib/ERMScriptModule.h
2011-05-22 18:46:52 +00:00

23 lines
546 B
C++

#pragma once
#include "../global.h"
#include "IGameEventsReceiver.h"
#include "IGameCallback.h"
class IGameEventRealizer;
class ERMInterpreter;
class DLL_EXPORT CScriptingModule : public IGameEventsReceiver, public IBattleEventsReceiver
{
public:
virtual void init(){}; //called upon the start of game (after map randomization, before first turn)
virtual ~CScriptingModule();
};
extern DLL_EXPORT IGameEventRealizer *acb;
extern DLL_EXPORT CPrivilagedInfoCallback *icb;
DLL_EXPORT CScriptingModule *getERMModule();