mirror of
https://github.com/CTR-tools/CTR-ModSDK.git
synced 2024-11-27 07:20:46 +00:00
progress
This commit is contained in:
parent
a73c66eefc
commit
573bf85660
@ -118,7 +118,7 @@ void DECOMP_UI_JumpMeter_Draw(short posX, short posY, struct Driver* driver)
|
||||
p->y2 = posY;
|
||||
p->x3 = sVar9;
|
||||
p->y3 = posY;
|
||||
jumpMeter = posY - ((short)(jumpMeterHeight / 0x960) - (short)(jumpMeterHeight / 0x80000000));
|
||||
jumpMeter = posY - ((short)(jumpMeterHeight / 0x960));
|
||||
p->y0 = jumpMeter;
|
||||
p->y1 = jumpMeter;
|
||||
|
||||
|
@ -60,7 +60,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
|
||||
p->x3 = posX;
|
||||
p->y3 = bottomY;
|
||||
|
||||
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960) - (short)(reservesMeterWidth / 0x80000000));
|
||||
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960));
|
||||
if(reservesMeter < (posX - 0x31))
|
||||
{
|
||||
reservesMeter = posX - 0x31;
|
||||
@ -190,7 +190,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
|
||||
p->x3 = sVar9;
|
||||
p->y3 = posY;
|
||||
|
||||
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960) - (short)(reservesMeterHeight / 0x80000000));
|
||||
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960));
|
||||
if(reservesMeter < (posY - 0x4C))
|
||||
{
|
||||
reservesMeter = posY - 0x4C;
|
||||
|
@ -62,7 +62,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
|
||||
p->x3 = posX;
|
||||
p->y3 = bottomY;
|
||||
|
||||
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960) - (short)(reservesMeterWidth / 0x80000000));
|
||||
reservesMeter = posX - ((short)(reservesMeterWidth / 0x960));
|
||||
if(reservesMeter < (posX - 0x31))
|
||||
{
|
||||
reservesMeter = posX - 0x31;
|
||||
@ -192,7 +192,7 @@ void DrawReservesMeter(short posX, short posY, struct Driver* driver)
|
||||
p->x3 = sVar9;
|
||||
p->y3 = posY;
|
||||
|
||||
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960) - (short)(reservesMeterHeight / 0x80000000));
|
||||
reservesMeter = posY - ((short)(reservesMeterHeight / 0x960));
|
||||
if(reservesMeter < (posY - 0x4C))
|
||||
{
|
||||
reservesMeter = posY - 0x4C;
|
||||
|
Loading…
Reference in New Issue
Block a user