REDRIVER2/src_rebuild/Game/C/sysclock.h
2021-04-26 02:40:02 +06:00

26 lines
397 B
C

#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