|
|
|
@ -153,6 +153,9 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
|
|
|
|
|
("skip-menu", bpo::value<bool>()->implicit_value(true)
|
|
|
|
|
->default_value(false), "skip main menu on game startup")
|
|
|
|
|
|
|
|
|
|
("new-game", bpo::value<bool>()->implicit_value(true)
|
|
|
|
|
->default_value(false), "run new game sequence (ignored if skip-menu=0)")
|
|
|
|
|
|
|
|
|
|
("fs-strict", bpo::value<bool>()->implicit_value(true)
|
|
|
|
|
->default_value(false), "strict file system handling (no case folding)")
|
|
|
|
|
|
|
|
|
@ -256,7 +259,9 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
|
|
|
|
|
|
|
|
|
|
// startup-settings
|
|
|
|
|
engine.setCell(variables["start"].as<std::string>());
|
|
|
|
|
engine.setSkipMenu (variables["skip-menu"].as<bool>());
|
|
|
|
|
engine.setSkipMenu (variables["skip-menu"].as<bool>(), variables["new-game"].as<bool>());
|
|
|
|
|
if (!variables["skip-menu"].as<bool>() && variables["new-game"].as<bool>())
|
|
|
|
|
std::cerr << "new-game used without skip-menu -> ignoring it" << std::endl;
|
|
|
|
|
|
|
|
|
|
// scripts
|
|
|
|
|
engine.setCompileAll(variables["script-all"].as<bool>());
|
|
|
|
|