mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-05-10 12:53:26 -05:00
17 lines
298 B
C
17 lines
298 B
C
#ifndef POKEHEARTGOLD_IGT_H
|
|
#define POKEHEARTGOLD_IGT_H
|
|
|
|
typedef struct IGT {
|
|
u16 hours;
|
|
u8 minutes;
|
|
u8 seconds;
|
|
} IGT;
|
|
|
|
void InitIGT(IGT* igt);
|
|
void AddIGTSeconds(IGT* igt, u32 seconds_to_add);
|
|
u16 GetIGTHours(IGT* igt);
|
|
u8 GetIGTMinutes(IGT* igt);
|
|
u8 GetIGTSeconds(IGT* igt);
|
|
|
|
#endif
|