projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved clearing event queue after fading and after door/envelope requests
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index a11f692eb2d66a2abd495ceab77017d10b0de2ca..4bd3b8d9196f83518af4bf5d4797a8c1b54c741d 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-982,7
+982,7
@@
static void FadeExt(int fade_mask, int fade_mode, int fade_type)
redraw_mask &= ~fade_mask;
redraw_mask &= ~fade_mask;
- Clear
EventQueue
();
+ Clear
AutoRepeatKeyEvents
();
}
static void SetScreenStates_BeforeFadingIn()
}
static void SetScreenStates_BeforeFadingIn()
@@
-2803,7
+2803,7
@@
void AnimateEnvelope(int envelope_nr, int anim_mode, int action)
SkipUntilDelayReached(&anim_delay, anim_delay_value, &i, last_frame);
}
SkipUntilDelayReached(&anim_delay, anim_delay_value, &i, last_frame);
}
- Clear
EventQueue
();
+ Clear
AutoRepeatKeyEvents
();
}
void ShowEnvelope(int envelope_nr)
}
void ShowEnvelope(int envelope_nr)
@@
-3088,7
+3088,7
@@
void AnimateEnvelopeRequest(int anim_mode, int action)
SkipUntilDelayReached(&anim_delay, anim_delay_value, &i, last_frame);
}
SkipUntilDelayReached(&anim_delay, anim_delay_value, &i, last_frame);
}
- Clear
EventQueue
();
+ Clear
AutoRepeatKeyEvents
();
}
void ShowEnvelopeRequest(char *text, unsigned int req_state, int action)
}
void ShowEnvelopeRequest(char *text, unsigned int req_state, int action)
@@
-5429,7
+5429,7
@@
unsigned int MoveDoor(unsigned int door_state)
DrawMaskedBorder(REDRAW_DOOR_1);
DrawMaskedBorder(REDRAW_DOOR_2);
DrawMaskedBorder(REDRAW_DOOR_1);
DrawMaskedBorder(REDRAW_DOOR_2);
- Clear
EventQueue
();
+ Clear
AutoRepeatKeyEvents
();
return (door1 | door2);
}
return (door1 | door2);
}