diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2024-09-11 17:19:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-11 09:19:20 -0600 |
| commit | da87c9d5e857dac70da03f49e4747bd7fb72b784 (patch) | |
| tree | a8643fa94ffe96ec0b348828783bec624a7803ae /src/port/ui/ImguiUI.cpp | |
| parent | 62d23146ff04c3107f537b7117e45830642d1246 (diff) | |
clang format add header (#83)
* clang format add header
* Update course_offsets.c
* clang format
* Update ImguiUI.h
* Update actors.c
Diffstat (limited to 'src/port/ui/ImguiUI.cpp')
| -rw-r--r-- | src/port/ui/ImguiUI.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp index b11a4f268..ed4575767 100644 --- a/src/port/ui/ImguiUI.cpp +++ b/src/port/ui/ImguiUI.cpp @@ -468,11 +468,9 @@ void DrawEnhancementsMenu() { UIWidgets::WindowButton("Multiplayer", "gMultiplayerWindowEnabled", GameUI::mMultiplayerWindow, { .tooltip = "Shows the multiplayer window" }); - if (UIWidgets::BeginMenu("Gameplay")) { - UIWidgets::WindowButton("Freecam", "gFreecam", GameUI::mFreecamWindow, { - .tooltip = "Allows you to fly around the course" - }); + UIWidgets::WindowButton("Freecam", "gFreecam", GameUI::mFreecamWindow, + { .tooltip = "Allows you to fly around the course" }); UIWidgets::CVarCheckbox( "No Level of Detail (LOD)", "gDisableLod", { .tooltip = "Disable Level of Detail (LOD) to avoid models using lower poly versions at a distance" }); @@ -485,7 +483,6 @@ void DrawEnhancementsMenu() { "Far Frustrum", "gFarFrustrum", 0.0f, 10000.0f, 10000.0f, { .tooltip = "Say how Far the Frustrum are when 'Disable Culling' are enable", .step = 10.0f }); ImGui::EndMenu(); - } ImGui::EndMenu(); @@ -515,9 +512,7 @@ void DrawDebugMenu() { { .tooltip = "Enables the Gfx Debugger window, allowing you to input commands, type help for some examples" }); - UIWidgets::CVarCheckbox("Debug mode", "gEnableDebugMode", { - .tooltip = "Enable debug mode" - }); + UIWidgets::CVarCheckbox("Debug mode", "gEnableDebugMode", { .tooltip = "Enable debug mode" }); UIWidgets::CVarCheckbox("Level Selector", "gLevelSelector", { .tooltip = "Allows you to select any level from the main menu" }); @@ -525,9 +520,8 @@ void DrawDebugMenu() { UIWidgets::CVarCheckbox("SFX Jukebox", "gSfxJukebox", { .tooltip = "Allows you to play sound effects from the game" }); - UIWidgets::CVarCheckbox("Render Collision", "gRenderCollisionMesh", { - .tooltip = "Renders the collision mesh instead of the course mesh" - }); + UIWidgets::CVarCheckbox("Render Collision", "gRenderCollisionMesh", + { .tooltip = "Renders the collision mesh instead of the course mesh" }); UIWidgets::Spacer(0); |
