diff options
Diffstat (limited to 'engines/made/made.cpp')
-rw-r--r-- | engines/made/made.cpp | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/engines/made/made.cpp b/engines/made/made.cpp index 75d39fa205..3843040961 100644 --- a/engines/made/made.cpp +++ b/engines/made/made.cpp @@ -20,31 +20,23 @@ * */ -#include "common/events.h" -#include "common/keyboard.h" -#include "common/config-manager.h" -#include "common/stream.h" - -#include "graphics/cursorman.h" - -#include "engines/util.h" - -#include "backends/audiocd/audiocd.h" - -#include "base/plugins.h" -#include "base/version.h" - -#include "audio/mixer.h" - #include "made/made.h" -#include "made/database.h" +#include "made/console.h" #include "made/pmvplayer.h" #include "made/resource.h" #include "made/screen.h" +#include "made/database.h" #include "made/script.h" -#include "made/sound.h" #include "made/music.h" -#include "made/redreader.h" + +#include "common/config-manager.h" +#include "common/events.h" +#include "common/system.h" +#include "common/error.h" + +#include "engines/util.h" + +#include "backends/audiocd/audiocd.h" namespace Made { @@ -143,6 +135,10 @@ int16 MadeEngine::getTicks() { return g_system->getMillis() * 30 / 1000; } +GUI::Debugger *MadeEngine::getDebugger() { + return _console; +} + int16 MadeEngine::getTimer(int16 timerNum) { if (timerNum > 0 && timerNum <= ARRAYSIZE(_timers) && _timers[timerNum - 1] != -1) return (getTicks() - _timers[timerNum - 1]); |