summaryrefslogtreecommitdiff
path: root/include/igt.h
blob: bf5e5a63b5ee01563c4cc5f9b8c24e26df4ad949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef POKEDIAMOND_IGT_H
#define POKEDIAMOND_IGT_H

struct IGT
{
    u16 hours;
    u8 minutes;
    u8 seconds;
};

void InitIGT(struct IGT * igt);
void AddIGTSeconds(struct IGT * igt, u32 seconds);
u16 GetIGTHours(struct IGT * igt);
u8 GetIGTMinutes(struct IGT * igt);

#endif //POKEDIAMOND_IGT_H