mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-26 04:12:34 +01:00
26 lines
397 B
C
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
|