diff options
| author | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2024-11-20 17:57:14 -0700 |
|---|---|---|
| committer | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2024-11-20 17:57:14 -0700 |
| commit | 6358a28ddc797fa97262b94d49d92d71eea6a149 (patch) | |
| tree | 7953218340428e8f81dcd98eec94b8fcb205c04e /src | |
| parent | 93973e08c36ab1213f6d33a39c42c29add6e07b7 (diff) | |
Fix widescreen 2
Diffstat (limited to 'src')
| -rw-r--r-- | src/math_util_2.c | 2 | ||||
| -rw-r--r-- | src/port/ui/ImguiUI.cpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/math_util_2.c b/src/math_util_2.c index 5f63833d8..1eeaecaef 100644 --- a/src/math_util_2.c +++ b/src/math_util_2.c @@ -721,7 +721,7 @@ void func_80042330_portrait(s32 x, s32 y, u16 angle, f32 scale, s16 lapCount) { Mat4 matrix; //printf("panel %d %d %d\n", x, (s32)OTRGetDimensionFromLeftEdge(x), (s32)OTRGetDimensionFromLeftEdge(0)); - if (gHUDModes != 2 && lapCount < 3) { + if ((gHUDModes != 2) && (D_801657E2 == 0) || (CVarGetInteger("gImprovements", 0) == true)) { if (x < (SCREEN_WIDTH / 2)) { x = (s32)OTRGetDimensionFromLeftEdge(x); } else { diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp index 52a8ca0e3..2284346bb 100644 --- a/src/port/ui/ImguiUI.cpp +++ b/src/port/ui/ImguiUI.cpp @@ -476,12 +476,13 @@ void DrawEnhancementsMenu() { if (UIWidgets::BeginMenu("Gameplay")) { UIWidgets::WindowButton("Freecam", "gFreecam", GameUI::mFreecamWindow, { .tooltip = "Allows you to fly around the course" }); + UIWidgets::CVarCheckbox("No multiplayer feature cuts", "gMultiplayerNoFeatureCuts", + { .tooltip = "Allows full train and jumbotron in multiplayer, etc." }); + UIWidgets::CVarCheckbox("General Improvements", "gImprovements", { .tooltip = "General improvements to the game experience." }); UIWidgets::CVarCheckbox( "No Level of Detail (LOD)", "gDisableLod", { .tooltip = "Disable Level of Detail (LOD) to avoid models using lower poly versions at a distance" }); - UIWidgets::CVarCheckbox("No multiplayer feature cuts", "gMultiplayerNoFeatureCuts", - { .tooltip = "Allows full train and jumbotron in multiplayer, etc." }); UIWidgets::CVarCheckbox("Disable Culling", "gNoCulling", { .tooltip = "Disable original culling of mk64" }); UIWidgets::CVarSliderFloat( |
