summaryrefslogtreecommitdiff
path: root/src/koopatlas/hud.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/hud.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp
index 157821b..ce54d8f 100644
--- a/src/koopatlas/hud.cpp
+++ b/src/koopatlas/hud.cpp
@@ -36,14 +36,18 @@ int dWMHud_c::onCreate() {
bool output = layout.build("maphud.brlyt");
- if (!IsWideScreen()) {
+ layout.layout.rootPane->trans.x = -112.0f;
+ if (IsWideScreen()) {
+ layout.layout.rootPane->scale.x = 0.735f;
+ } else {
layout.clippingEnabled = true;
layout.clipX = 0;
layout.clipY = 52;
layout.clipWidth = 640;
layout.clipHeight = 352;
- layout.layout.rootPane->scale.x = 0.7711f;
+ layout.layout.rootPane->scale.x = 0.731f;
layout.layout.rootPane->scale.y = 0.7711f;
+ layout.drawInfo._50 &= ~0x20;
}
static const char *brlanNames[] = {