Application: change how advanced mode is presented.

This commit is contained in:
Guillaume Jacquemin 2024-12-07 14:55:12 +01:00
parent c8daeb0656
commit 3fb294ca4a
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -127,12 +127,13 @@ Application::drawMainMenu() {
drawHelpMarker("This gives access to save edition features that can be considered cheats.", drawHelpMarker("This gives access to save edition features that can be considered cheats.",
float(windowSize().x()) * 0.4f); float(windowSize().x()) * 0.4f);
if(drawCheckbox("Advanced mode", conf().advancedMode())) { if(drawCheckbox("Advanced fuckery mode", conf().advancedMode())) {
conf().setAdvancedMode(!conf().advancedMode()); conf().setAdvancedMode(!conf().advancedMode());
} }
ImGui::SameLine(); ImGui::SameLine();
ImGui::AlignTextToFramePadding(); ImGui::AlignTextToFramePadding();
drawHelpMarker("This gives access to editing values that have unknown purposes or are undocumented.", drawHelpMarker("This gives access to editing values that have unknown purposes or are undocumented. "
"It also grants access to some special editing features allowing things the game is NOT designed for.",
float(windowSize().x()) * 0.4f); float(windowSize().x()) * 0.4f);
if(drawCheckbox("Check for updates on startup", conf().checkUpdatesOnStartup())) { if(drawCheckbox("Check for updates on startup", conf().checkUpdatesOnStartup())) {