diff options
Diffstat (limited to 'gob/timer.h')
-rw-r--r-- | gob/timer.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gob/timer.h b/gob/timer.h new file mode 100644 index 0000000000..26f3b7df56 --- /dev/null +++ b/gob/timer.h @@ -0,0 +1,25 @@ +/* +** Gobliiins 1 +** Original game by CoktelVision +** +** Reverse engineered by Ivan Dubrov <WFrag@yandex.ru> +** +*/ +#ifndef __TIMER_H_ +#define __TIMER_H_ + +namespace Gob { + +typedef void (* TickHandler) (void); + +void timer_enableTimer(void); +void timer_disableTimer(void); +void timer_setHandler(void); +void timer_restoreHandler(void); +void timer_addTicks(int16 ticks); +void timer_setTickHandler(TickHandler handler); +int32 timer_getTicks(void); + +} // End of namespace Gob + +#endif |