SCI: Reduced header deps

svn-id: r40451
This commit is contained in:
Max Horn 2009-05-11 13:31:17 +00:00
parent 45ceef870a
commit 7c75e8e2ef
7 changed files with 13 additions and 5 deletions

View File

@ -32,7 +32,6 @@
#include "sci/engine/kdebug.h"
#include "sci/uinput.h"
#include "sci/scicore/sciconsole.h" /* sciprintf() */
namespace Sci {

View File

@ -28,6 +28,7 @@
#include "sci/sci_memory.h"
#include "sci/engine/state.h"
#include "sci/scicore/sciconsole.h"
namespace Sci {

View File

@ -37,8 +37,7 @@ namespace Common {
#include "sci/scicore/vocabulary.h"
#include "sci/scicore/resource.h"
#include "sci/scicore/sciconsole.h"
#include "sci/scicore/versions.h"
#include "sci/scicore/versions.h"
#include "sci/engine/kernel.h" // for kfunct_sig_pair_t
#include "sci/engine/script.h"
#include "sci/engine/seg_manager.h"

View File

@ -29,6 +29,7 @@
#include "sci/gfx/operations.h"
#include "sci/gfx/font.h"
#include "sci/sci.h" // for g_engine, evil hack
#include "sci/console.h"
#include "common/system.h"
#include "common/events.h"

View File

@ -30,6 +30,8 @@
#include "engines/advancedDetector.h"
#include "sci/sci.h"
#include "sci/console.h"
#include "sci/scicore/sciconsole.h"
#include "sci/engine/state.h"
#include "sci/engine/kernel.h"
@ -303,6 +305,10 @@ Common::Error SciEngine::run() {
return Common::kNoError;
}
GUI::Debugger *SciEngine::getDebugger() {
return _console;
}
const char* SciEngine::getGameID() const {
return _gameDescription->desc.gameid;
}

View File

@ -29,11 +29,12 @@
#include "engines/engine.h"
#include "engines/advancedDetector.h"
#include "sci/console.h"
#include "sci/scicore/resource.h"
namespace Sci {
struct Console;
// our engine debug levels
enum kDebugLevels {
kDebugLevelError = 1 << 0,
@ -79,7 +80,7 @@ public:
// Engine APIs
virtual Common::Error run();
virtual GUI::Debugger *getDebugger() { return _console; }
virtual GUI::Debugger *getDebugger();
const char* getGameID() const;
int getResourceVersion() const;

View File

@ -28,6 +28,7 @@
#include "sci/sci_memory.h"
#include "sci/engine/state.h"
#include "sci/scicore/sciconsole.h"
namespace Sci {