mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
Hide Dpad in minimal UI (#955)
This commit is contained in:
parent
a1ed35e5bd
commit
d648c7275c
@ -4745,12 +4745,14 @@ void Interface_Draw(GlobalContext* globalCtx) {
|
|||||||
} else {
|
} else {
|
||||||
gDPSetPrimColor(OVERLAY_DISP++, 0, 0, 255, 255, 255, dpadAlpha);
|
gDPSetPrimColor(OVERLAY_DISP++, 0, 0, 255, 255, 255, dpadAlpha);
|
||||||
}
|
}
|
||||||
gDPLoadTextureBlock(OVERLAY_DISP++, ResourceMgr_LoadFileRaw("assets/ship_of_harkinian/buttons/dpad.bin"),
|
if (fullUi) {
|
||||||
G_IM_FMT_IA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
gDPLoadTextureBlock(OVERLAY_DISP++, ResourceMgr_LoadFileRaw("assets/ship_of_harkinian/buttons/dpad.bin"),
|
||||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD);
|
G_IM_FMT_IA, G_IM_SIZ_16b, 32, 32, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
||||||
gSPWideTextureRectangle(OVERLAY_DISP++, DpadPosX << 2, DpadPosY << 2,
|
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD);
|
||||||
(DpadPosX + 32) << 2, (DpadPosY + 32) << 2,
|
gSPWideTextureRectangle(OVERLAY_DISP++, DpadPosX << 2, DpadPosY << 2,
|
||||||
G_TX_RENDERTILE, 0, 0, (1 << 10), (1 << 10));
|
(DpadPosX + 32) << 2, (DpadPosY + 32) << 2,
|
||||||
|
G_TX_RENDERTILE, 0, 0, (1 << 10), (1 << 10));
|
||||||
|
}
|
||||||
|
|
||||||
// DPad-Up Button Icon & Ammo Count
|
// DPad-Up Button Icon & Ammo Count
|
||||||
if (gSaveContext.equips.buttonItems[4] < 0xF0) {
|
if (gSaveContext.equips.buttonItems[4] < 0xF0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user