projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20111007-1-src
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index ebcb5e1d1ee1427fb767c0f8583182e5935abca0..d583d87305b3165cbc6663963f273d43391c79ae 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-29,7
+29,7
@@
static boolean cursor_inside_playfield = FALSE;
static boolean playfield_cursor_set = FALSE;
static boolean cursor_inside_playfield = FALSE;
static boolean playfield_cursor_set = FALSE;
-static unsigned
long
playfield_cursor_delay = 0;
+static unsigned
int
playfield_cursor_delay = 0;
/* event filter especially needed for SDL event filtering due to
/* event filter especially needed for SDL event filtering due to
@@
-1012,7
+1012,7
@@
void HandleKey(Key key, int key_status)
}
break;
}
break;
- case KSYM_
S
:
+ case KSYM_
s
:
if (!global.fps_slowdown)
{
global.fps_slowdown = TRUE;
if (!global.fps_slowdown)
{
global.fps_slowdown = TRUE;
@@
-1141,7
+1141,7
@@
void HandleJoystick()
case GAME_MODE_SETUP:
case GAME_MODE_INFO:
{
case GAME_MODE_SETUP:
case GAME_MODE_INFO:
{
- static unsigned
long
joystickmove_delay = 0;
+ static unsigned
int
joystickmove_delay = 0;
if (joystick && !button &&
!DelayReached(&joystickmove_delay, GADGET_FRAME_DELAY))
if (joystick && !button &&
!DelayReached(&joystickmove_delay, GADGET_FRAME_DELAY))