pmd-red/include/play_time.h
Seth Barberee 3e5dd1d047
Death by 74 files (#65)
* 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
2021-10-22 10:01:07 -07:00

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