move Disable Gamma option to developer menu
Some checks are pending
GenerateBuilds / generate-port-o2r (push) Waiting to run
GenerateBuilds / build-windows (push) Blocked by required conditions
GenerateBuilds / build-macos (push) Blocked by required conditions
GenerateBuilds / build-linux (push) Blocked by required conditions

This commit is contained in:
Sonic Dreamcaster 2025-02-01 04:23:51 -03:00
parent c317bf663d
commit 364e72760e
2 changed files with 5 additions and 3 deletions

View File

@ -244,7 +244,7 @@ GameEngine::GameEngine() {
"SoundFont", static_cast<uint32_t>(SF64::ResourceType::SoundFont), 0);
prevAltAssets = CVarGetInteger("gEnhancements.Mods.AlternateAssets", 0);
gEnableGammaBoost = CVarGetInteger("gGraphics.GammaMode", 1) == 1;
gEnableGammaBoost = CVarGetInteger("gGraphics.GammaMode", 0) == 0;
context->GetResourceManager()->SetAltAssetsEnabled(prevAltAssets);
}

View File

@ -395,8 +395,6 @@ void DrawSettingsMenu(){
}
UIWidgets::PaddedEnhancementCheckbox("Enable Alternative Assets", "gEnhancements.Mods.AlternateAssets");
UIWidgets::EnhancementCheckbox("Enable Gamma Boost (Needs reload)", "gGraphics.GammaMode", false, "Gamma Boost is disabled in the current build of the game", UIWidgets::CheckboxGraphics::Cross, true);
// If more filters are added to LUS, make sure to add them to the filters list here
ImGui::Text("Texture Filter (Needs reload)");
UIWidgets::EnhancementCombobox("gTextureFilter", filters, 0);
@ -667,6 +665,10 @@ void DrawDebugMenu() {
UIWidgets::CVarCheckbox("Disable Starfield interpolation", "gDisableStarsInterpolation", {
.tooltip = "Disable starfield interpolation to increase performance on slower CPUs"
});
UIWidgets::CVarCheckbox("Disable Gamma Boost (Needs reload)", "gGraphics.GammaMode", {
.tooltip = "Gamma Boost is disabled in the current build of the game",
.defaultValue = false
});
UIWidgets::CVarCheckbox("Spawner Mod", "gSpawnerMod", {
.tooltip = "Spawn Scenery, Actors, Bosses, Sprites, Items, Effects and even Event Actors.\n"