[Scummvm-cvs-logs] SF.net SVN: scummvm:[35968] scummvm/branches/branch-0-13-0/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jan 21 00:42:25 CET 2009


Revision: 35968
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35968&view=rev
Author:   thebluegr
Date:     2009-01-20 23:42:25 +0000 (Tue, 20 Jan 2009)

Log Message:
-----------
(backport) Implemented getDebugger()

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/engines/saga/saga.cpp
    scummvm/branches/branch-0-13-0/engines/saga/saga.h

Modified: scummvm/branches/branch-0-13-0/engines/saga/saga.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/saga/saga.cpp	2009-01-20 23:40:35 UTC (rev 35967)
+++ scummvm/branches/branch-0-13-0/engines/saga/saga.cpp	2009-01-20 23:42:25 UTC (rev 35968)
@@ -570,6 +570,10 @@
 	return (ConfMan.getInt("talkspeed") * 3 + 255 / 2) / 255;
 }
 
+GUI::Debugger *SagaEngine::getDebugger() {
+	return _console;
+}
+
 void SagaEngine::syncSoundSettings() {
 	_subtitlesEnabled = ConfMan.getBool("subtitles");
 	_readingSpeed = getTalkspeed();

Modified: scummvm/branches/branch-0-13-0/engines/saga/saga.h
===================================================================
--- scummvm/branches/branch-0-13-0/engines/saga/saga.h	2009-01-20 23:40:35 UTC (rev 35967)
+++ scummvm/branches/branch-0-13-0/engines/saga/saga.h	2009-01-20 23:42:25 UTC (rev 35968)
@@ -445,15 +445,16 @@
 
 public:
 	// Engine APIs
-	virtual Common::Error init();
-	virtual Common::Error go();
-	virtual bool hasFeature(EngineFeature f) const;
-	virtual void syncSoundSettings();
-	virtual void pauseEngineIntern(bool pause);
+	Common::Error init();
+	Common::Error go();
+	bool hasFeature(EngineFeature f) const;
+	void syncSoundSettings();
+	void pauseEngineIntern(bool pause);
 
-public:
+	GUI::Debugger *getDebugger();
+
 	SagaEngine(OSystem *syst, const SAGAGameDescription *gameDesc);
-	virtual ~SagaEngine();
+	~SagaEngine();
 
 	void save(const char *fileName, const char *saveName);
 	void load(const char *fileName);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list