mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-04 16:38:55 +00:00
cbf491a7b8
svn-id: r49197
44 lines
738 B
C++
44 lines
738 B
C++
#ifndef QUUX_H
|
|
#define QUUX_H
|
|
|
|
#include "common/random.h"
|
|
#include "engines/engine.h"
|
|
#include "gui/debugger.h"
|
|
|
|
namespace Quux {
|
|
|
|
class Console;
|
|
|
|
// our engine debug levels
|
|
enum {
|
|
kQuuxDebugExample = 1 << 0,
|
|
kQuuxDebugExample2 = 1 << 1
|
|
// next new level must be 1 << 2 (4)
|
|
// the current limitation is 32 debug levels (1 << 31 is the last one)
|
|
};
|
|
|
|
class QuuxEngine : public Engine {
|
|
public:
|
|
QuuxEngine(OSystem *syst);
|
|
~QuuxEngine();
|
|
|
|
virtual Common::Error run();
|
|
|
|
private:
|
|
Console *_console;
|
|
|
|
// We need random numbers
|
|
Common::RandomSource _rnd;
|
|
};
|
|
|
|
// Example console class
|
|
class Console : public GUI::Debugger {
|
|
public:
|
|
Console(QuuxEngine *vm) {}
|
|
virtual ~Console(void) {}
|
|
};
|
|
|
|
} // End of namespace Quux
|
|
|
|
#endif
|