[Scummvm-cvs-logs] scummvm master -> 11b320a6ee699f023f0cf81bfe643acbb4f12f04

digitall dgturner at iee.org
Sat Dec 7 02:29:55 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
11b320a6ee TEENAGENT: Add missing getDebugger() for engine API.


Commit: 11b320a6ee699f023f0cf81bfe643acbb4f12f04
    https://github.com/scummvm/scummvm/commit/11b320a6ee699f023f0cf81bfe643acbb4f12f04
Author: D G Turner (digitall at scummvm.org)
Date: 2013-12-06T17:32:53-08:00

Commit Message:
TEENAGENT: Add missing getDebugger() for engine API.

Changed paths:
    engines/teenagent/teenagent.h



diff --git a/engines/teenagent/teenagent.h b/engines/teenagent/teenagent.h
index d6a2c0d..3c3bc25 100644
--- a/engines/teenagent/teenagent.h
+++ b/engines/teenagent/teenagent.h
@@ -31,6 +31,9 @@
 #include "common/rect.h"
 #include "common/array.h"
 
+#include "gui/debugger.h"
+
+#include "teenagent/console.h"
 #include "teenagent/dialog.h"
 
 struct ADGameDescription;
@@ -50,7 +53,6 @@ struct UseHotspot;
 class Scene;
 class MusicPlayer;
 class Dialog;
-class Console;
 class Resources;
 class Inventory;
 
@@ -84,6 +86,8 @@ public:
 	virtual bool canSaveGameStateCurrently() { return !_sceneBusy; }
 	virtual bool hasFeature(EngineFeature f) const;
 
+	GUI::Debugger *getDebugger() { return console; }
+
 	void init();
 
 	enum Action { kActionNone, kActionExamine, kActionUse };






More information about the Scummvm-git-logs mailing list