mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-04 18:58:29 -04:00
db8f5f5ccc
* Cleanup * Cleanup variables.h * Cleanup fault headers * Some includes/headers cleanup * Libultra btn wrappers * Mark differences to original libultra headers * Remove duplicate include in fault * format * Update include/PR/os_voice.h Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com> * align --------- Co-authored-by: Tom Overton <tom-overton@users.noreply.github.com>
33 lines
956 B
C
33 lines
956 B
C
#ifndef Z64SPEED_METER_H
|
|
#define Z64SPEED_METER_H
|
|
|
|
#include "PR/ultratypes.h"
|
|
#include "PR/os_time.h"
|
|
#include "unk.h"
|
|
|
|
struct GameState;
|
|
struct GraphicsContext;
|
|
|
|
typedef struct SpeedMeter {
|
|
/* 0x00 */ UNK_TYPE1 unk_00[0x18];
|
|
/* 0x18 */ s32 x; // Unused
|
|
/* 0x1C */ s32 y;
|
|
} SpeedMeter; // size = 0x20
|
|
|
|
void SpeedMeter_Init(SpeedMeter* this);
|
|
void SpeedMeter_Destroy(SpeedMeter* this);
|
|
void SpeedMeter_DrawTimeEntries(SpeedMeter* this, struct GraphicsContext* gfxCtx);
|
|
void SpeedMeter_DrawAllocEntries(SpeedMeter* this, struct GraphicsContext* gfxCtx, struct GameState* state);
|
|
|
|
extern volatile OSTime gRSPAudioTimeTotal;
|
|
extern volatile OSTime gRSPGfxTimeTotal;
|
|
extern volatile OSTime gRDPTimeTotal;
|
|
extern volatile OSTime gGraphUpdatePeriod;
|
|
extern volatile OSTime gRSPAudioTimeAcc;
|
|
extern volatile OSTime gRSPGfxTimeAcc;
|
|
extern volatile OSTime gRSPOtherTimeAcc;
|
|
extern volatile OSTime gUnkTimeAcc;
|
|
extern volatile OSTime gRDPTimeAcc;
|
|
|
|
#endif
|