ZVISION: Add missing getDebugger() for engine API.

This commit is contained in:
D G Turner 2013-12-07 02:45:38 +00:00
parent c839a1962e
commit 16ec43a0cf

View File

@ -24,6 +24,7 @@
#ifndef ZVISION_ZVISION_H #ifndef ZVISION_ZVISION_H
#define ZVISION_ZVISION_H #define ZVISION_ZVISION_H
#include "zvision/core/console.h"
#include "zvision/detection.h" #include "zvision/detection.h"
#include "zvision/utility/clock.h" #include "zvision/utility/clock.h"
@ -44,7 +45,6 @@ class VideoDecoder;
namespace ZVision { namespace ZVision {
struct ZVisionGameDescription; struct ZVisionGameDescription;
class Console;
class ScriptManager; class ScriptManager;
class RenderManager; class RenderManager;
class CursorManager; class CursorManager;
@ -117,6 +117,7 @@ public:
StringManager *getStringManager() const { return _stringManager; } StringManager *getStringManager() const { return _stringManager; }
Common::RandomSource *getRandomSource() const { return _rnd; } Common::RandomSource *getRandomSource() const { return _rnd; }
ZVisionGameId getGameId() const { return _gameDescription->gameId; } ZVisionGameId getGameId() const { return _gameDescription->gameId; }
GUI::Debugger *getDebugger() { return _console; }
/** /**
* Play a video until it is finished. This is a blocking call. It will call * Play a video until it is finished. This is a blocking call. It will call