mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-12 10:54:44 +00:00
Decompile speed_meter.c and add VIEWPORT_INIT macro (#127)
* Decompile speed_meter.c and add VIEWPORT_INIT macro - speed_meter.c: OK - Add VIEWPORT_INIT(viewport, by, rx, ty, lx) macro * get rid of some magic numbers * use early return instead of a big if block in SpeedMeter_DrawTimeEntries
This commit is contained in:
parent
74a654ecae
commit
08d9fee6e4
16 changed files with 249 additions and 749 deletions
|
@ -1602,13 +1602,13 @@ void PadMgr_Init(PadMgr* padmgr, OSMesgQueue* siIntMsgQ, UNK_TYPE arg2, OSId id,
|
|||
// ? func_800C95F8(?);
|
||||
void func_800C9644(u32 a0);
|
||||
// ? func_800C9874(?);
|
||||
// ? func_800C9940(?);
|
||||
// ? func_800C9998(?);
|
||||
// ? func_800C99BC(?);
|
||||
// ? func_800C99C4(?);
|
||||
// ? func_800C9E08(?);
|
||||
// ? func_800C9E44(?);
|
||||
// ? func_800CA104(?);
|
||||
void SpeedMeter_InitImpl(SpeedMeter* this, u32 arg1, u32 y);
|
||||
void SpeedMeter_Init(SpeedMeter* this);
|
||||
void SpeedMeter_Destroy(SpeedMeter* this);
|
||||
void SpeedMeter_DrawTimeEntries(SpeedMeter* this, GraphicsContext* gfxCtx);
|
||||
void SpeedMeter_InitAllocEntry(SpeedMeterAllocEntry* entry, u32 maxval, u32 val, u16 backColor, u16 foreColor, u32 ulx, u32 lrx, u32 uly, u32 lry);
|
||||
void SpeedMeter_DrawAllocEntry(SpeedMeterAllocEntry* this, GraphicsContext* gfxCtx);
|
||||
void SpeedMeter_DrawAllocEntries(SpeedMeter* meter, GraphicsContext* gfxCtx, GameState* state);
|
||||
void SysCfb_Init(s32 n64dd);
|
||||
u32 SysCfb_GetFbPtr(s32 idx);
|
||||
u32 SysCfb_GetFbEnd();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue