mirror of https://github.com/AxioDL/metaforce.git
Add Skip Splash Screens option
This commit is contained in:
parent
dbeb871336
commit
c7e778f66c
|
@ -648,6 +648,11 @@ void MainWindow::initOptions() {
|
|||
hecl::CVarManager::instance()->findOrMakeCVar(
|
||||
"stateManager.logScripting"sv, "Prints object communication to the console", false,
|
||||
hecl::CVar::EFlags::ReadOnly | hecl::CVar::EFlags::Archive | hecl::CVar::EFlags::Game));
|
||||
initCheckboxOption(m_ui->skipSplashScreensBox,
|
||||
// TODO centralize
|
||||
hecl::CVarManager::instance()->findOrMakeCVar(
|
||||
"tweak.game.SplashScreensDisabled"sv, "Skip splash screens on game startup", false,
|
||||
hecl::CVar::EFlags::ReadOnly | hecl::CVar::EFlags::Archive | hecl::CVar::EFlags::Game));
|
||||
|
||||
m_launchOptionsModel.setStringList(QSettings().value(QStringLiteral("urde_arguments")).toStringList());
|
||||
m_ui->launchOptionsList->setModel(&m_launchOptionsModel);
|
||||
|
|
|
@ -367,6 +367,13 @@
|
|||
<string>Game</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="skipSplashScreensBox">
|
||||
<property name="text">
|
||||
<string>Skip Splash Screens</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="developerModeBox">
|
||||
<property name="text">
|
||||
|
|
Loading…
Reference in New Issue