add compile option to disable the intro

saves around 500KB-1MB
This commit is contained in:
tildearrow 2025-06-10 17:17:18 -05:00
parent e923b108d9
commit 9e7ed049a1
7 changed files with 41 additions and 10 deletions

View file

@ -1167,6 +1167,7 @@ void FurnaceGUI::drawSettings() {
// SUBSECTION START-UP
CONFIG_SUBSECTION(_("Start-up"));
#ifndef NO_INTRO
ImGui::Text(_("Play intro on start-up:"));
ImGui::Indent();
if (ImGui::RadioButton(_("No##pis0"),settings.alwaysPlayIntro==0)) {
@ -1186,6 +1187,7 @@ void FurnaceGUI::drawSettings() {
settingsChanged=true;
}
ImGui::Unindent();
#endif
bool disableFadeInB=settings.disableFadeIn;
if (ImGui::Checkbox(_("Disable fade-in during start-up"),&disableFadeInB)) {