mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
WAGE: Move pollEvent's definition to wage.cpp
This commit is contained in:
parent
eac2717abb
commit
f9fd3b699c
@ -100,6 +100,10 @@ WageEngine::~WageEngine() {
|
||||
delete _rnd;
|
||||
}
|
||||
|
||||
bool WageEngine::pollEvent(Common::Event &event) {
|
||||
return _eventMan->pollEvent(event);
|
||||
}
|
||||
|
||||
Common::Error WageEngine::run() {
|
||||
debug("WageEngine::init");
|
||||
|
||||
|
@ -54,12 +54,15 @@
|
||||
#include "common/rect.h"
|
||||
#include "common/macresman.h"
|
||||
#include "common/random.h"
|
||||
#include "common/events.h"
|
||||
|
||||
#include "wage/debugger.h"
|
||||
|
||||
struct ADGameDescription;
|
||||
|
||||
namespace Common {
|
||||
class Event;
|
||||
}
|
||||
|
||||
namespace Graphics {
|
||||
class MacDialog;
|
||||
}
|
||||
@ -137,7 +140,7 @@ public:
|
||||
void regen();
|
||||
|
||||
const char *getTargetName() { return _targetName.c_str(); }
|
||||
bool pollEvent(Common::Event &event) { return _eventMan->pollEvent(event); }
|
||||
bool pollEvent(Common::Event &event);
|
||||
|
||||
private:
|
||||
bool loadWorld(Common::MacResManager *resMan);
|
||||
|
Loading…
Reference in New Issue
Block a user