mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 21:19:53 +00:00
3e5dd1d047
* death by 74 files * 20% reached * doc move stuff in pokemon * fix undef reference * doc more and plumb a few more constanst for num party members and num moves * that struct is def PokemonMove.. clean up all code with it
25 lines
539 B
C
25 lines
539 B
C
#ifndef GUARD_PLAY_TIME_H
|
|
#define GUARD_PLAY_TIME_H
|
|
|
|
struct PlayTimeStruct
|
|
{
|
|
s16 hours;
|
|
u8 minutes;
|
|
u8 seconds;
|
|
u8 frames;
|
|
};
|
|
|
|
|
|
extern struct PlayTimeStruct *gPlayTimeRef;
|
|
extern struct PlayTimeStruct gPlayTime;
|
|
|
|
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 // GUARD_PLAY_TIME_H
|
|
|