2016-04-26 14:44:01 +02:00
|
|
|
#ifndef DM_H
|
|
|
|
#define DM_H
|
|
|
|
|
|
|
|
#include "common/random.h"
|
|
|
|
#include "engines/engine.h"
|
|
|
|
#include "gui/debugger.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace DM {
|
|
|
|
|
|
|
|
class Console;
|
2016-05-02 20:58:55 +02:00
|
|
|
class DisplayMan;
|
2016-05-03 17:55:04 +02:00
|
|
|
class DungeonMan;
|
2016-04-26 14:44:01 +02:00
|
|
|
|
|
|
|
enum {
|
|
|
|
// engine debug channels
|
|
|
|
kDMDebugExample = 1 << 0
|
|
|
|
};
|
|
|
|
|
|
|
|
class DMEngine : public Engine {
|
|
|
|
public:
|
|
|
|
DMEngine(OSystem *syst);
|
|
|
|
~DMEngine();
|
|
|
|
|
|
|
|
virtual Common::Error run();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Console *_console;
|
|
|
|
Common::RandomSource *_rnd;
|
2016-05-02 20:58:55 +02:00
|
|
|
DisplayMan *_displayMan;
|
2016-05-03 17:55:04 +02:00
|
|
|
DungeonMan *_dungeonMan;
|
2016-04-26 14:44:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class Console : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
Console(DMEngine *vm) {}
|
|
|
|
virtual ~Console(void) {}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace DM
|
|
|
|
|
|
|
|
#endif
|