summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-12-06 19:31:19 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-12-06 19:31:19 -0300
commit366d3f00228a0fa92eb2c0f57f9e43e6301da52a (patch)
treec4224658ded1ef9cf4226fd444d8278099d1c0b4 /src/engine
parentb70da4c31af36a9340b2bc39317a452105ff06fd (diff)
fix lives counter textures
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/fox_hud.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/fox_hud.c b/src/engine/fox_hud.c
index c9d95d75..89d7b618 100644
--- a/src/engine/fox_hud.c
+++ b/src/engine/fox_hud.c
@@ -124,8 +124,8 @@ void HUD_MatrixTranslateCoordLeft(f32* transX, f32* transY) {
// Used in the status screen, and when losing a life
void HUD_LivesCount1_Draw(f32 xPos, f32 yPos, s32 lifeCount) {
- u8* sLifeIconTex[] = { aArwingLifeIconTex, aBlueMarineLifeIconTex, aLandmasterLifeIconTex };
- u16* sLifeIconTLUT[] = { aArwingLifeIconTLUT, aBlueMarineLifeIconTLUT, aLandmasterLifeIconTLUT };
+ u8* sLifeIconTex[] = { aArwingLifeIconTex, aLandmasterLifeIconTex, aBlueMarineLifeIconTex };
+ u16* sLifeIconTLUT[] = { aArwingLifeIconTLUT, aLandmasterLifeIconTLUT, aBlueMarineLifeIconTLUT };
Player* player;
s32 lifeIconIdx;
s32 maxLives;
@@ -919,8 +919,8 @@ void HUD_DrawLevelClearScreen(void) {
// Used in gameplay hud
void HUD_LivesCount2_Draw(f32 x, f32 y, s32 number) {
- u8* sLivesCounterTexs[] = { aArwingLifeIconTex, aBlueMarineLifeIconTex, aLandmasterLifeIconTex };
- u16* sLivesCounterTLUTs[] = { aArwingLifeIconTLUT, aBlueMarineLifeIconTLUT, aLandmasterLifeIconTLUT };
+ u8* sLivesCounterTexs[] = { aArwingLifeIconTex, aLandmasterLifeIconTex, aBlueMarineLifeIconTex };
+ u16* sLivesCounterTLUTs[] = { aArwingLifeIconTLUT, aLandmasterLifeIconTLUT, aBlueMarineLifeIconTLUT };
Player* player = &gPlayer[0];
f32 x0;
f32 x1;
@@ -2823,8 +2823,8 @@ void HUD_EdgeArrows_Draw(s32 idx, bool arg1) {
}
if (arg1) {
- Matrix_Translate(gGfxMatrix, xPos + D_800D1FE8[idx], D_800D1F28[idx] + D_800D2018[idx],
- D_800D1F58[idx], MTXF_APPLY);
+ Matrix_Translate(gGfxMatrix, xPos + D_800D1FE8[idx], D_800D1F28[idx] + D_800D2018[idx], D_800D1F58[idx],
+ MTXF_APPLY);
} else {
Matrix_Translate(gGfxMatrix, xPos, D_800D1F28[idx], D_800D1F58[idx], MTXF_APPLY);
}