mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
Add var init and now it will build
This commit is contained in:
parent
ec66987365
commit
49cdf50705
1 changed files with 5 additions and 3 deletions
|
@ -305,10 +305,12 @@ void HealthMeter_Draw(GlobalContext* globalCtx) {
|
|||
f32 temp4;
|
||||
InterfaceContext* interfaceCtx = &globalCtx->interfaceCtx;
|
||||
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
|
||||
s16 MaxHeartsCount = gSaveContext.healthCapacity;
|
||||
s16 HealthNow = gSaveContext.health;
|
||||
Vtx* sp154 = interfaceCtx->beatingHeartVtx;
|
||||
s32 curHeartFraction = gSaveContext.health % 0x10;
|
||||
s16 totalHeartCount = gSaveContext.healthCapacity / 0x10;
|
||||
s16 fullHeartCount = gSaveContext.health / 0x10;
|
||||
s32 curHeartFraction = HealthNow % 0x10;
|
||||
s16 totalHeartCount = MaxHeartsCount / 0x10;
|
||||
s16 fullHeartCount = HealthNow / 0x10;
|
||||
s32 pad2;
|
||||
f32 sp144 = interfaceCtx->unk_22A * 0.1f;
|
||||
s32 curCombineModeSet = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue