diff options
author | RichieSams | 2013-09-15 14:04:58 -0500 |
---|---|---|
committer | RichieSams | 2013-09-15 14:04:58 -0500 |
commit | d643ca1571eef1f81b5880fcb796f1ee268ef234 (patch) | |
tree | 4eae3e6d67258b99b65e0dc2098472a604bf75e5 | |
parent | 6f4e80e36e7729bd2137a1a2bde712521861b0b3 (diff) | |
download | scummvm-rg350-d643ca1571eef1f81b5880fcb796f1ee268ef234.tar.gz scummvm-rg350-d643ca1571eef1f81b5880fcb796f1ee268ef234.tar.bz2 scummvm-rg350-d643ca1571eef1f81b5880fcb796f1ee268ef234.zip |
ZVISION: Remove unused Console functions
-rw-r--r-- | engines/zvision/console.cpp | 39 | ||||
-rw-r--r-- | engines/zvision/console.h | 3 |
2 files changed, 0 insertions, 42 deletions
diff --git a/engines/zvision/console.cpp b/engines/zvision/console.cpp index 8b4dffa98a..4ea4a8e963 100644 --- a/engines/zvision/console.cpp +++ b/engines/zvision/console.cpp @@ -51,9 +51,6 @@ Console::Console(ZVision *engine) : GUI::Debugger(), _engine(engine) { DCmd_Register("setpanoramascale", WRAP_METHOD(Console, cmdSetPanoramaScale)); DCmd_Register("changelocation", WRAP_METHOD(Console, cmdChangeLocation)); DCmd_Register("dumpfile", WRAP_METHOD(Console, cmdDumpFile)); - DCmd_Register("dumpcursorfilenames", WRAP_METHOD(Console, cmdDumpAllCursorFileNames)); - DCmd_Register("showcursor", WRAP_METHOD(Console, cmdShowCursor)); - DCmd_Register("dumpalllevfiles", WRAP_METHOD(Console, cmdDumpAllLevFiles)); DCmd_Register("parseallscrfiles", WRAP_METHOD(Console, cmdParseAllScrFiles)); } @@ -190,42 +187,6 @@ bool Console::cmdDumpFile(int argc, const char **argv) { return true; } -bool Console::cmdDumpAllCursorFileNames(int argc, const char **argv) { - Common::DumpFile outputFile; - outputFile.open("cursorFileNames.txt"); - - Common::ArchiveMemberList list; - SearchMan.listMatchingMembers(list, "*.zcr"); - - // Register the file entries within the zfs archives with the SearchMan - for (Common::ArchiveMemberList::iterator iter = list.begin(); iter != list.end(); ++iter) { - outputFile.writeString((*iter)->getName()); - outputFile.writeByte('\n'); - } - - return true; -} - -bool Console::cmdShowCursor(int argc, const char **argv) { - ZorkCursor cursor(argv[1]); - - _engine->_system->copyRectToScreen(cursor.getSurface(), cursor.getWidth() * 2, 0, 0, cursor.getWidth(), cursor.getHeight()); - - return true; -} - -bool Console::cmdDumpAllLevFiles(int argc, const char **argv) { - Common::ArchiveMemberList list; - SearchMan.listMatchingMembers(list, "*.lev"); - - for (Common::ArchiveMemberList::iterator iter = list.begin(); iter != list.end(); ++iter) { - Common::String fileName = (*iter)->getName(); - writeFileContentsToFile(fileName, fileName); - } - - return true; -} - bool Console::cmdParseAllScrFiles(int argc, const char **argv) { Common::ArchiveMemberList list; SearchMan.listMatchingMembers(list, "*.scr"); diff --git a/engines/zvision/console.h b/engines/zvision/console.h index 612e5eec00..fdb20642e9 100644 --- a/engines/zvision/console.h +++ b/engines/zvision/console.h @@ -47,9 +47,6 @@ private: bool cmdSetPanoramaScale(int argc, const char **argv); bool cmdChangeLocation(int argc, const char **argv); bool cmdDumpFile(int argc, const char **argv); - bool cmdDumpAllCursorFileNames(int argc, const char **argv); - bool cmdShowCursor(int argc, const char **argv); - bool cmdDumpAllLevFiles(int argc, const char **argv); bool cmdParseAllScrFiles(int argc, const char **argv); }; |