mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-28 06:48:16 -04:00
a2d206665c
* move friend area settings to src * split out playtime into different C file and decomp a few more funcs * time -> play_time * fix include * split out more wonder mail stuff * unify 203B2C0 and unkDungeon structs. snuck in a decomp func too * split out more menu screens * work some more on trade items * doc a few more things * add a close nonmatch and decomp nullsub and small func * rollback struct attempt since it causes nonmatchings * only one func left in asm * death to trade_item asm and unify into one C file * more docing and cleanup * label main menu and trade items menu global menu struct * doc itemMode
21 lines
435 B
C
21 lines
435 B
C
#ifndef PLAY_TIME_H
|
|
#define PLAY_TIME_H
|
|
|
|
struct PlayTimeStruct
|
|
{
|
|
s16 hours;
|
|
u8 minutes;
|
|
u8 seconds;
|
|
u8 frames;
|
|
};
|
|
|
|
void IncrementPlayTime(struct PlayTimeStruct *Time);
|
|
void ResetPlayTime(struct PlayTimeStruct *Time);
|
|
struct PlayTimeStruct *GetPlayTime(void);
|
|
void DeconstructPlayTime(struct PlayTimeStruct *r0, u32 *outHours, u32 *outMinutes, u32 *outSeconds);
|
|
void InitializePlayTime(void);
|
|
|
|
|
|
#endif // PLAY_TIME_H
|
|
|