repo.or.cz
/
bcl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated mouse.h and mouse.c, still broken
[bcl.git]
/
timing.c
blob
8dceae356b073f2c284acc3b587824e01150d3a3
1
#include
"timing.h"
2
3
DECLSPEC
void
delay
(
int
ms
) {
4
SDL_Delay
(
ms
);
5
}
6
7
DECLSPEC TIMER
addTimer
(
int
ms
,
TIMERCALL callback
,
void
*
data
) {
8
return
SDL_AddTimer
(
ms
,
callback
,
data
);
9
}
10
11
DECLSPEC
void
cancelTimer
(
TIMER timer
) {
12
SDL_RemoveTimer
(
timer
);
13
}