REDRIVER2/src_rebuild/Game/C/sysclock.h

26 lines
397 B
C
Raw Normal View History

2021-04-25 22:40:02 +02:00
#ifndef SYSCLOCK_H
#define SYSCLOCK_H
struct Clock_tGameClock
{
int time128Hz;
int time64Hz;
int time32Hz;
};
extern Clock_tGameClock clock_realTime;
typedef void (*tmr_func)();
extern void inittimer(int hz);
extern void reinittimer();
extern void restoretimer();
extern void resettick();
extern void addtimer(tmr_func func);
extern void Clock_SystemStartUp(void);
#endif // SYSCLOCK_H