summaryrefslogtreecommitdiff
path: root/src/common/timer.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-10-11 03:49:10 +0000
committerJared Adams <jaxad0127@gmail.com>2008-10-11 03:49:10 +0000
commit4714f80db868134997efdfff750b5d43650b5171 (patch)
treed73a0fd6b542b352b858fd6ef83a6c36ffa26c46 /src/common/timer.h
parent7d8c845f895fe213b5e463a0638ebdf94f507c0b (diff)
downloadtmwa-4714f80db868134997efdfff750b5d43650b5171.tar.gz
tmwa-4714f80db868134997efdfff750b5d43650b5171.tar.bz2
tmwa-4714f80db868134997efdfff750b5d43650b5171.tar.xz
tmwa-4714f80db868134997efdfff750b5d43650b5171.zip
Commit magic patch v13
Diffstat (limited to 'src/common/timer.h')
-rw-r--r--src/common/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/timer.h b/src/common/timer.h
index f6fc5c8..a96f011 100644
--- a/src/common/timer.h
+++ b/src/common/timer.h
@@ -28,8 +28,8 @@ struct TimerData {
unsigned int gettick_nocache(void);
unsigned int gettick(void);
-int add_timer(unsigned int,int (*)(int,unsigned int,int,int),int,int);
-int add_timer_interval(unsigned int,int (*)(int,unsigned int,int,int),int,int,int);
+int add_timer(unsigned int delay,int (*)(int index /* for deletion */,unsigned int orig_delay,int id, int data),int id, int data);
+int add_timer_interval(unsigned int,int (*)(int,unsigned int,int,int),int,int,int interval);
int delete_timer(int,int (*)(int,unsigned int,int,int));
int addtick_timer(int tid,unsigned int tick);