From c3f4bbf34fe5192fe5bccd87c4319a42e1109422 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 12 Oct 2003 18:24:28 +0000 Subject: removing last traces of -w/-l svn-id: r10765 --- base/gameDetector.cpp | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'base') diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 89a2673dea..9f4d5d4499 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -89,14 +89,6 @@ static const char USAGE_STRING[] = " -y - Set text speed (default: 60)\n" #endif "\n" -/* FIXME / TODO: config rewrite - " -l - Load config file instead of default\n" -#if defined(UNIX) - " -w[file] - Write to config file [~/.scummvmrc]\n" -#else - " -w[file] - Write to config file [scummvm.ini]\n" -#endif -*/ " -v - Show version info and exit\n" " -h - Display this text and exit\n" " -z - Display list of supported games\n" @@ -359,18 +351,6 @@ void GameDetector::parseCommandLine(int argc, char **argv) { HANDLE_OPT_OPTION(); ConfMan.set("joystick_num", (option != NULL) ? (int)strtol(option, 0, 10) : 0); break; -/* FIXME / TODO: config rewrite - case 'l': - HANDLE_OPTION(); - { - Config *newconfig = new Config(option, "scummvm"); - g_config->merge_config(*newconfig); - delete newconfig; - updateconfig(); - break; - } - break; -*/ case 'm': HANDLE_OPTION(); ConfMan.set("music_volume", (int)strtol(option, 0, 10)); @@ -416,15 +396,6 @@ void GameDetector::parseCommandLine(int argc, char **argv) { printf("%s\n", gScummVMFullVersion); exit(0); break; -/* FIXME / TODO: config rewrite - case 'w': - _saveconfig = true; - g_config->set_writing(true); - HANDLE_OPT_OPTION(); - if (option != NULL) - g_config->set_filename(option); - break; -*/ case 'x': HANDLE_OPT_OPTION(); ConfMan.set("save_slot", (option != NULL) ? (int)strtol(option, 0, 10) : 0); @@ -497,11 +468,6 @@ void GameDetector::parseCommandLine(int argc, char **argv) { } } -/* FIXME / TODO: config rewrite - if (!_gameFileName.isEmpty()) - ConfMan.flushToDisk(); -*/ - return; ShowHelpAndExit: -- cgit v1.2.3