sup39
c74a9da83b
Rearrange linker script (in /linker) Delete unnecessary files Use extern instead of static in sms.h
30 lines
779 B
C
30 lines
779 B
C
#ifndef SMS_QFTIMER_H
|
|
#define SMS_QFTIMER_H
|
|
|
|
/* https://github.com/BitPatty/gctGenerator/blob/master/docs/reserved_memory.png */
|
|
typedef struct {
|
|
// 0x94
|
|
struct {
|
|
uint32_t left;
|
|
uint32_t top;
|
|
uint32_t right;
|
|
uint32_t bottom;
|
|
} textboxCoord; // Coordinated of the Text box
|
|
// 0xA4
|
|
char format[13]; // Timer Format String
|
|
// 0xB1
|
|
uint8_t u1; // (Unused)
|
|
// 0xB2
|
|
uint8_t stopAtQFTOffset; // Stop at QFT Offset
|
|
// 0xB3
|
|
uint8_t restart; // Restart Flag
|
|
// 0xB4
|
|
uint32_t offset; // Cumulative time of previous areas since last reset (QFT Offset)
|
|
// 0xB8
|
|
uint32_t displayTime; // Time to display if timer freeze > 0
|
|
// 0xBC
|
|
uint32_t freezeDuration; // Duration of timer freeze (in frames)
|
|
} QFTimer_t;
|
|
extern QFTimer_t QFTimer;
|
|
|
|
#endif
|