mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
fix lives counter textures
This commit is contained in:
parent
b70da4c31a
commit
366d3f0022
@ -124,8 +124,8 @@ void HUD_MatrixTranslateCoordLeft(f32* transX, f32* transY) {
|
|||||||
|
|
||||||
// Used in the status screen, and when losing a life
|
// Used in the status screen, and when losing a life
|
||||||
void HUD_LivesCount1_Draw(f32 xPos, f32 yPos, s32 lifeCount) {
|
void HUD_LivesCount1_Draw(f32 xPos, f32 yPos, s32 lifeCount) {
|
||||||
u8* sLifeIconTex[] = { aArwingLifeIconTex, aBlueMarineLifeIconTex, aLandmasterLifeIconTex };
|
u8* sLifeIconTex[] = { aArwingLifeIconTex, aLandmasterLifeIconTex, aBlueMarineLifeIconTex };
|
||||||
u16* sLifeIconTLUT[] = { aArwingLifeIconTLUT, aBlueMarineLifeIconTLUT, aLandmasterLifeIconTLUT };
|
u16* sLifeIconTLUT[] = { aArwingLifeIconTLUT, aLandmasterLifeIconTLUT, aBlueMarineLifeIconTLUT };
|
||||||
Player* player;
|
Player* player;
|
||||||
s32 lifeIconIdx;
|
s32 lifeIconIdx;
|
||||||
s32 maxLives;
|
s32 maxLives;
|
||||||
@ -919,8 +919,8 @@ void HUD_DrawLevelClearScreen(void) {
|
|||||||
|
|
||||||
// Used in gameplay hud
|
// Used in gameplay hud
|
||||||
void HUD_LivesCount2_Draw(f32 x, f32 y, s32 number) {
|
void HUD_LivesCount2_Draw(f32 x, f32 y, s32 number) {
|
||||||
u8* sLivesCounterTexs[] = { aArwingLifeIconTex, aBlueMarineLifeIconTex, aLandmasterLifeIconTex };
|
u8* sLivesCounterTexs[] = { aArwingLifeIconTex, aLandmasterLifeIconTex, aBlueMarineLifeIconTex };
|
||||||
u16* sLivesCounterTLUTs[] = { aArwingLifeIconTLUT, aBlueMarineLifeIconTLUT, aLandmasterLifeIconTLUT };
|
u16* sLivesCounterTLUTs[] = { aArwingLifeIconTLUT, aLandmasterLifeIconTLUT, aBlueMarineLifeIconTLUT };
|
||||||
Player* player = &gPlayer[0];
|
Player* player = &gPlayer[0];
|
||||||
f32 x0;
|
f32 x0;
|
||||||
f32 x1;
|
f32 x1;
|
||||||
@ -2823,8 +2823,8 @@ void HUD_EdgeArrows_Draw(s32 idx, bool arg1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (arg1) {
|
if (arg1) {
|
||||||
Matrix_Translate(gGfxMatrix, xPos + D_800D1FE8[idx], D_800D1F28[idx] + D_800D2018[idx],
|
Matrix_Translate(gGfxMatrix, xPos + D_800D1FE8[idx], D_800D1F28[idx] + D_800D2018[idx], D_800D1F58[idx],
|
||||||
D_800D1F58[idx], MTXF_APPLY);
|
MTXF_APPLY);
|
||||||
} else {
|
} else {
|
||||||
Matrix_Translate(gGfxMatrix, xPos, D_800D1F28[idx], D_800D1F58[idx], MTXF_APPLY);
|
Matrix_Translate(gGfxMatrix, xPos, D_800D1F28[idx], D_800D1F58[idx], MTXF_APPLY);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user