CLIENT: Make controller glyph on useprint smaller; useprint less claustrophobic

This commit is contained in:
MotoLegacy 2024-11-26 11:47:57 -08:00
parent b3c25885ef
commit 514d98c6e8

View file

@ -1053,7 +1053,7 @@ void(float width, float height) HUD_Useprint =
if (usecost != "") { if (usecost != "") {
float cost_width = getTextWidth(usecost, 12); float cost_width = getTextWidth(usecost, 12);
float x3 = (width - cost_width)/2; float x3 = (width - cost_width)/2;
Draw_String([x3, g_height/2 + 78, 0], usecost, [12, 12, 0], [1, 1, 1], 1, 0); Draw_String([x3, g_height/2 + 84, 0], usecost, [12, 12, 0], [1, 1, 1], 1, 0);
} }
// Draw highlighted usebutton // Draw highlighted usebutton
@ -1061,7 +1061,7 @@ void(float width, float height) HUD_Useprint =
button_width = x + getTextWidth("Hold ", 12); button_width = x + getTextWidth("Hold ", 12);
if (Key_IsControllerGlyph(usebutton)) if (Key_IsControllerGlyph(usebutton))
Key_DrawControllerGlyph([button_width - 5, g_height/2 + 60], usebutton, [22, 22]); Key_DrawControllerGlyph([button_width - 5, g_height/2 + 62], usebutton, [18, 18]);
else else
Draw_String([button_width, g_height/2 + 65, 0], usebutton, [12, 12, 0], [1, 1, 0], 1, 0); Draw_String([button_width, g_height/2 + 65, 0], usebutton, [12, 12, 0], [1, 1, 0], 1, 0);
} }