diff options
author | Eugene Sandulenko | 2007-09-19 13:55:05 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-09-19 13:55:05 +0000 |
commit | 77eea722afe175003baba3ed5341bfbf8cf988f6 (patch) | |
tree | ff95cd001b8929308468d69466623f0c28be476b /base | |
parent | 2254028365cf5f162bd41cf0011b4475ec608f4c (diff) | |
download | scummvm-rg350-77eea722afe175003baba3ed5341bfbf8cf988f6.tar.gz scummvm-rg350-77eea722afe175003baba3ed5341bfbf8cf988f6.tar.bz2 scummvm-rg350-77eea722afe175003baba3ed5341bfbf8cf988f6.zip |
Modified patch #1738058: "Action recorder".
svn-id: r28968
Diffstat (limited to 'base')
-rw-r--r-- | base/commandLine.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp index 20b6dfd053..b8bb81a8d0 100644 --- a/base/commandLine.cpp +++ b/base/commandLine.cpp @@ -225,6 +225,11 @@ void registerDefaults() { ConfMan.registerDefault("savepath", savePath); #endif #endif // #ifdef DEFAULT_SAVE_PATH + + ConfMan.registerDefault("record_mode", "none"); + ConfMan.registerDefault("record_file_name", "record.bin"); + ConfMan.registerDefault("record_temp_file_name", "record.tmp"); + ConfMan.registerDefault("record_time_file_name", "record.time"); } // @@ -500,6 +505,19 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, char **ar END_OPTION #endif + DO_LONG_OPTION("record-mode") + END_OPTION + + DO_LONG_OPTION("record-file-name") + END_OPTION + + DO_LONG_OPTION("record-temp-file-name") + END_OPTION + + DO_LONG_OPTION("record-time-file-name") + END_OPTION + + unknownOption: // If we get till here, the option is unhandled and hence unknown. usage("Unrecognized option '%s'", argv[i]); |