2021-07-07 16:39:34 +00:00
|
|
|
#ifndef GUARD_PLAY_TIME_H
|
|
|
|
#define GUARD_PLAY_TIME_H
|
2020-11-19 17:27:18 +00:00
|
|
|
|
|
|
|
struct PlayTimeStruct
|
|
|
|
{
|
2020-11-20 16:33:21 +00:00
|
|
|
s16 hours;
|
2020-11-19 17:27:18 +00:00
|
|
|
u8 minutes;
|
|
|
|
u8 seconds;
|
2020-11-20 16:33:21 +00:00
|
|
|
u8 frames;
|
2020-11-19 17:27:18 +00:00
|
|
|
};
|
|
|
|
|
2021-10-22 17:01:07 +00:00
|
|
|
|
|
|
|
extern struct PlayTimeStruct *gPlayTimeRef;
|
|
|
|
extern struct PlayTimeStruct gPlayTime;
|
|
|
|
|
2020-11-20 16:33:21 +00:00
|
|
|
void IncrementPlayTime(struct PlayTimeStruct *Time);
|
2020-11-19 17:27:18 +00:00
|
|
|
void ResetPlayTime(struct PlayTimeStruct *Time);
|
2021-02-21 19:13:55 +00:00
|
|
|
struct PlayTimeStruct *GetPlayTime(void);
|
2020-11-20 16:33:21 +00:00
|
|
|
void DeconstructPlayTime(struct PlayTimeStruct *r0, u32 *outHours, u32 *outMinutes, u32 *outSeconds);
|
2021-02-21 19:13:55 +00:00
|
|
|
void InitializePlayTime(void);
|
2020-11-19 17:27:18 +00:00
|
|
|
|
|
|
|
|
2021-07-07 16:39:34 +00:00
|
|
|
#endif // GUARD_PLAY_TIME_H
|
2020-11-19 17:27:18 +00:00
|
|
|
|