[Scummvm-cvs-logs] SF.net SVN: scummvm:[46634] tools/branches/gsoc2009-gui/engines/cruise
sev at users.sourceforge.net
sev at users.sourceforge.net
Sun Dec 27 13:46:03 CET 2009
Revision: 46634
http://scummvm.svn.sourceforge.net/scummvm/?rev=46634&view=rev
Author: sev
Date: 2009-12-27 12:46:03 +0000 (Sun, 27 Dec 2009)
Log Message:
-----------
Cleanup and made the tool work via GUI.
Modified Paths:
--------------
tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.cpp
tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.h
Modified: tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.cpp
===================================================================
--- tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.cpp 2009-12-27 12:43:26 UTC (rev 46633)
+++ tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.cpp 2009-12-27 12:46:03 UTC (rev 46634)
@@ -218,6 +218,15 @@
}
};
+ExtractCruisePC::ExtractCruisePC(const std::string &name) : Tool(name, TOOLTYPE_EXTRACTION) {
+ ToolInput input;
+ input.format = "*.*";
+ _inputPaths.push_back(input);
+
+ _shorthelp = "Extract data files from the PC version of CRuise for a Corpse.";
+ _helptext = "Usage: " + _name + " [-o outputdir] <infile>\n" + _shorthelp + "\n";
+}
+
void ExtractCruisePC::execute() {
if (_outputPath.empty())
_outputPath.setFullPath("./");
Modified: tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.h
===================================================================
--- tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.h 2009-12-27 12:43:26 UTC (rev 46633)
+++ tools/branches/gsoc2009-gui/engines/cruise/extract_cruise_pc.h 2009-12-27 12:46:03 UTC (rev 46634)
@@ -33,10 +33,6 @@
ExtractCruisePC(const std::string &name = "extract_cruise_pc");
virtual void execute();
-
-protected:
-
- void extract_resource(Common::File &input, Common::File &output, p_resource res);
};
#endif
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