mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
A & C notes and cursor
This commit is contained in:
parent
1931685a12
commit
5a48015d5d
1 changed files with 39 additions and 3 deletions
|
@ -494,9 +494,21 @@ void KaleidoScope_DrawQuestStatus(GlobalContext* globalCtx, GraphicsContext* gfx
|
||||||
gDPPipeSync(POLY_KAL_DISP++);
|
gDPPipeSync(POLY_KAL_DISP++);
|
||||||
|
|
||||||
if (D_8082A124[sp218] == 0) {
|
if (D_8082A124[sp218] == 0) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 255, 150, D_8082A150[sp218]);
|
if (CVar_GetS32("gN64Colors", 0) != 0) { // A Button notes
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 150, 255, D_8082A150[sp218]);
|
||||||
|
} else if (CVar_GetS32("gGameCubeColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 255, 150, D_8082A150[sp218]);
|
||||||
|
} else if (CVar_GetS32("gCustomColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, CVar_GetInt("gCCABtnPrimR", 80), CVar_GetInt("gCCABtnPrimG", 255), CVar_GetInt("gCCABtnPrimB", 150), D_8082A150[sp218]);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (CVar_GetS32("gN64Colors", 0) != 0) { // C Buttons notes
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, D_8082A150[sp218]);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, D_8082A150[sp218]);
|
||||||
|
} else if (CVar_GetS32("gGameCubeColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, D_8082A150[sp218]);
|
||||||
|
} else if (CVar_GetS32("gCustomColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, CVar_GetInt("gCCCBtnPrimR", 255), CVar_GetInt("gCCCBtnPrimG", 160), CVar_GetInt("gCCCBtnPrimB", 0), D_8082A150[sp218]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gDPSetEnvColor(POLY_KAL_DISP++, 10, 10, 10, 0);
|
gDPSetEnvColor(POLY_KAL_DISP++, 10, 10, 10, 0);
|
||||||
|
@ -524,9 +536,21 @@ void KaleidoScope_DrawQuestStatus(GlobalContext* globalCtx, GraphicsContext* gfx
|
||||||
|
|
||||||
if (pauseCtx->unk_1E4 == 8) {
|
if (pauseCtx->unk_1E4 == 8) {
|
||||||
if (gOcarinaSongNotes[sp224].notesIdx[phi_s3] == 0) {
|
if (gOcarinaSongNotes[sp224].notesIdx[phi_s3] == 0) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 255, 150, 200);
|
if (CVar_GetS32("gN64Colors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 150, 255, 200);
|
||||||
|
} else if (CVar_GetS32("gGameCubeColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 255, 150, 200);
|
||||||
|
} else if (CVar_GetS32("gCustomColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, CVar_GetInt("gCCABtnPrimR", 80), CVar_GetInt("gCCABtnPrimG", 255), CVar_GetInt("gCCABtnPrimB", 150), 200);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (CVar_GetS32("gN64Colors", 0) != 0) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, 200);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, 200);
|
||||||
|
} else if (CVar_GetS32("gGameCubeColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, 200);
|
||||||
|
} else if (CVar_GetS32("gCustomColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, CVar_GetInt("gCCCBtnPrimR", 255), CVar_GetInt("gCCCBtnPrimG", 160), CVar_GetInt("gCCCBtnPrimB", 0), 200);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 150, 150, 150, 150);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 150, 150, 150, 150);
|
||||||
|
@ -579,9 +603,21 @@ void KaleidoScope_DrawQuestStatus(GlobalContext* globalCtx, GraphicsContext* gfx
|
||||||
gDPPipeSync(POLY_KAL_DISP++);
|
gDPPipeSync(POLY_KAL_DISP++);
|
||||||
|
|
||||||
if (D_8082A124[phi_s3] == 0) {
|
if (D_8082A124[phi_s3] == 0) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 255, 150, D_8082A150[phi_s3]);
|
if (CVar_GetS32("gN64Colors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 150, 255, D_8082A150[phi_s3]);
|
||||||
|
} else if (CVar_GetS32("gGameCubeColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 80, 255, 150, D_8082A150[phi_s3]);
|
||||||
|
} else if (CVar_GetS32("gCustomColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, CVar_GetInt("gCCABtnPrimR", 80), CVar_GetInt("gCCABtnPrimG", 255), CVar_GetInt("gCCABtnPrimB", 150), D_8082A150[phi_s3]);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (CVar_GetS32("gN64Colors", 0) != 0) {
|
||||||
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, D_8082A150[phi_s3]);
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, D_8082A150[phi_s3]);
|
||||||
|
} else if (CVar_GetS32("gGameCubeColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, 255, 255, 50, D_8082A150[phi_s3]);
|
||||||
|
} else if (CVar_GetS32("gCustomColors", 0) != 0) {
|
||||||
|
gDPSetPrimColor(POLY_KAL_DISP++, 0, 0, CVar_GetInt("gCCCBtnPrimR", 255), CVar_GetInt("gCCCBtnPrimG", 160), CVar_GetInt("gCCCBtnPrimB", 0), D_8082A150[phi_s3]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gDPSetEnvColor(POLY_KAL_DISP++, 10, 10, 10, 0);
|
gDPSetEnvColor(POLY_KAL_DISP++, 10, 10, 10, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue