mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 19:32:17 -05:00
Modify grayscale intensity for item icons to match original
This commit is contained in:
parent
caebcc4f9a
commit
baf366c086
@ -578,7 +578,7 @@ void KaleidoScope_DrawEquipment(GlobalContext* globalCtx) {
|
|||||||
int itemId = ITEM_SWORD_KOKIRI + temp;
|
int itemId = ITEM_SWORD_KOKIRI + temp;
|
||||||
bool not_acquired = (gItemAgeReqs[itemId] != 9) && (gItemAgeReqs[itemId] != gSaveContext.linkAge);
|
bool not_acquired = (gItemAgeReqs[itemId] != 9) && (gItemAgeReqs[itemId] != gSaveContext.linkAge);
|
||||||
if (not_acquired) {
|
if (not_acquired) {
|
||||||
gsDPSetGrayscaleColor(POLY_KAL_DISP++, 100, 100, 100);
|
gsDPSetGrayscaleColor(POLY_KAL_DISP++, 109, 109, 109);
|
||||||
gsSPGrayscale(POLY_KAL_DISP++, true);
|
gsSPGrayscale(POLY_KAL_DISP++, true);
|
||||||
}
|
}
|
||||||
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, gItemIcons[itemId], 32, 32, point);
|
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, gItemIcons[itemId], 32, 32, point);
|
||||||
|
@ -470,7 +470,7 @@ void KaleidoScope_DrawItemSelect(GlobalContext* globalCtx) {
|
|||||||
int itemId = gSaveContext.inventory.items[i];
|
int itemId = gSaveContext.inventory.items[i];
|
||||||
bool not_acquired = (gItemAgeReqs[itemId] != 9) && (gItemAgeReqs[itemId] != gSaveContext.linkAge);
|
bool not_acquired = (gItemAgeReqs[itemId] != 9) && (gItemAgeReqs[itemId] != gSaveContext.linkAge);
|
||||||
if (not_acquired) {
|
if (not_acquired) {
|
||||||
gsDPSetGrayscaleColor(POLY_KAL_DISP++, 100, 100, 100);
|
gsDPSetGrayscaleColor(POLY_KAL_DISP++, 109, 109, 109);
|
||||||
gsSPGrayscale(POLY_KAL_DISP++, true);
|
gsSPGrayscale(POLY_KAL_DISP++, true);
|
||||||
}
|
}
|
||||||
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, gItemIcons[itemId], 32,
|
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, gItemIcons[itemId], 32,
|
||||||
|
Loading…
Reference in New Issue
Block a user