2009-02-15 06:10:59 +00:00
|
|
|
#ifndef SCI_H
|
|
|
|
#define SCI_H
|
|
|
|
|
|
|
|
#include "engines/engine.h"
|
|
|
|
#include "gui/debugger.h"
|
|
|
|
|
|
|
|
//namespace Sci {
|
|
|
|
|
|
|
|
// our engine debug levels
|
|
|
|
enum {
|
|
|
|
SCI_DEBUG_RESOURCES = 1 << 0,
|
|
|
|
SCI_DEBUG_todo = 1 << 1
|
|
|
|
};
|
|
|
|
|
|
|
|
struct GameFlags {
|
|
|
|
//int gameType;
|
|
|
|
//int gameId;
|
|
|
|
//uint32 features;
|
|
|
|
// SCI Version
|
|
|
|
// Resource Map Version
|
|
|
|
// etc...
|
|
|
|
};
|
|
|
|
|
|
|
|
struct SciGameDescription {
|
2009-02-15 08:20:53 +00:00
|
|
|
ADGameDescription desc;
|
2009-02-15 06:10:59 +00:00
|
|
|
GameFlags flags;
|
|
|
|
};
|
|
|
|
|
|
|
|
//class Console;
|
|
|
|
|
|
|
|
class SciEngine : public Engine {
|
2009-02-15 22:43:13 +00:00
|
|
|
public:
|
|
|
|
SciEngine(OSystem *syst, const SciGameDescription *desc);
|
|
|
|
~SciEngine();
|
2009-02-15 06:10:59 +00:00
|
|
|
|
2009-02-15 22:43:13 +00:00
|
|
|
virtual Common::Error init(void);
|
|
|
|
virtual Common::Error go(void);
|
2009-02-15 06:10:59 +00:00
|
|
|
|
2009-02-15 22:43:13 +00:00
|
|
|
private:
|
|
|
|
//Console *_console;
|
2009-02-15 06:10:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
// Example console
|
|
|
|
class Console : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
//Console(SciEngine *vm);
|
|
|
|
//virtual ~Console(void);
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
|
|
|
|
//} // End of namespace Sci
|
|
|
|
|
|
|
|
#endif // SCI_H
|