mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07:00
Condition to be on
Added condition to be on only if toggled on
This commit is contained in:
parent
50e26b6f4d
commit
216a053568
1 changed files with 11 additions and 3 deletions
|
@ -1615,15 +1615,23 @@ void KaleidoScope_DrawInfoPanel(GlobalContext* globalCtx) {
|
||||||
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_LEFT) && (pauseCtx->unk_1E4 == 0)) {
|
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_LEFT) && (pauseCtx->unk_1E4 == 0)) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
||||||
} else {
|
} else {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 255);
|
if (CVar_GetS32("gUniformLR", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 255);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gSPDisplayList(POLY_KAL_DISP++, gLButtonIconDL);
|
gSPDisplayList(POLY_KAL_DISP++, gLButtonIconDL);
|
||||||
|
|
||||||
|
if (CVar_GetS32("gUniformLR", 0) == 0) { //Restore the misplace gDPSetPrimColor
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 255);
|
||||||
|
}
|
||||||
|
|
||||||
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_RIGHT) && (pauseCtx->unk_1E4 == 0)) {
|
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_RIGHT) && (pauseCtx->unk_1E4 == 0)) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
||||||
} else {
|
} else {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 255);
|
if (CVar_GetS32("gUniformLR", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 180, 210, 255, 255);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gSPDisplayList(POLY_KAL_DISP++, gRButtonIconDL);
|
gSPDisplayList(POLY_KAL_DISP++, gRButtonIconDL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue