mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
versus fix
This commit is contained in:
parent
ed8a78c54c
commit
97301ae5b4
@ -2018,8 +2018,8 @@ s32 HUD_RadarMarks_Update(void) {
|
|||||||
f32 x1;
|
f32 x1;
|
||||||
f32 y1;
|
f32 y1;
|
||||||
f32 z1;
|
f32 z1;
|
||||||
f32 x;
|
f32 x = 0;
|
||||||
f32 y;
|
f32 y = 0;
|
||||||
s32 pad;
|
s32 pad;
|
||||||
f32 temp;
|
f32 temp;
|
||||||
f32 temp2;
|
f32 temp2;
|
||||||
@ -2897,11 +2897,7 @@ void HUD_KillCountStars_Update(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HUD_VS_ShieldGaugeFrame_Draw(f32 xPos, f32 yPos, f32 xScale, f32 yScale) {
|
void HUD_VS_ShieldGaugeFrame_Draw(f32 xPos, f32 yPos, f32 xScale, f32 yScale) {
|
||||||
s32 i;
|
Lib_TextureRect_IA8(&gMasterDisp, aVsShieldGaugeFrameTex, 80, 26, xPos, yPos, xScale,
|
||||||
|
|
||||||
// LTodo: [HD-Texture] Is broken
|
|
||||||
u8* texture = (u8*) LOAD_ASSET(aVsShieldGaugeFrameTex);
|
|
||||||
Lib_TextureRect_IA8(&gMasterDisp, texture + 2 * ((640 * i) / 2), 80, 8, xPos, (8 * i * yScale) + yPos, xScale,
|
|
||||||
yScale);
|
yScale);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -168,9 +168,7 @@ void func_versus_800BD350(f32 xPos, f32 yPos) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void func_versus_800BD3A8(f32 xPos, f32 yPos) {
|
void func_versus_800BD3A8(f32 xPos, f32 yPos) {
|
||||||
s32 i;
|
Lib_TextureRect_CI4(&gMasterDisp, aVsHandicapFrameTex, aVsHandicapFrameTLUT, 80, 71, xPos, yPos, 1.0f,
|
||||||
|
|
||||||
Lib_TextureRect_CI4(&gMasterDisp, aVsHandicapFrameTex + ((80 * 8 * i) / 2), aVsHandicapFrameTLUT, 80, 71, xPos, yPos, 1.0f,
|
|
||||||
1.0f);
|
1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user