|
|
|
@ -134,6 +134,9 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
|
|
|
|
|
("new-game", bpo::value<bool>()->implicit_value(true)
|
|
|
|
|
->default_value(false), "activate char gen/new game mechanics")
|
|
|
|
|
|
|
|
|
|
("skip-menu", bpo::value<bool>()->implicit_value(true)
|
|
|
|
|
->default_value(false), "skip main menu on game startup")
|
|
|
|
|
|
|
|
|
|
("fs-strict", bpo::value<bool>()->implicit_value(true)
|
|
|
|
|
->default_value(false), "strict file system handling (no case folding)")
|
|
|
|
|
|
|
|
|
@ -223,6 +226,7 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
|
|
|
|
|
// startup-settings
|
|
|
|
|
engine.setCell(variables["start"].as<std::string>());
|
|
|
|
|
engine.setNewGame(variables["new-game"].as<bool>());
|
|
|
|
|
engine.setSkipMenu (variables["skip-menu"].as<bool>());
|
|
|
|
|
|
|
|
|
|
// other settings
|
|
|
|
|
engine.setSoundUsage(!variables["nosound"].as<bool>());
|
|
|
|
|