scummvm/common
sluicebox 386c5659ec BASE: Purge keyboard/mouse events before running Engine
Fixes GUI events leaking into engines at startup. This caused
Phantasmagoria 1 to skip its introduction if the game was started from
the ScummVM GUI with a keyboard (Enter) but not with a mouse because
the key-down event started the engine and the key-up event remained
in the queue.

This also purges and mouse events since we happen to already have a
purgeMouseEvents() method. We may want to also clear joystick inputs,
or possibly the entire event queue, but that can be done after the
upcoming release. For now, the known bug is fixed.
2021-08-23 15:46:33 -05:00
..
encodings
lua
achievements.cpp
achievements.h
algorithm.h
archive.cpp ALL: Change listMatchingMembers pattern to a Path 2021-08-09 17:47:30 -04:00
archive.h BACKENDS: Use U32String for FSNode::getDisplayName 2021-08-23 21:22:27 +01:00
array.h
base-str.cpp
base-str.h
bitarray.h
bitstream.h
bufferedstream.h BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
c++11-compat.h
callback.h
config-manager.cpp
config-manager.h
coroutines.cpp
coroutines.h
cosinetables.cpp
cosinetables.h
crc.h COMMON: Fix build with old GCC 2021-08-11 12:01:40 +02:00
dcl.cpp
dcl.h
dct.cpp
dct.h
debug-channels.h COMMON: Persist global debug channels between engine runs 2021-08-16 21:33:15 +02:00
debug.cpp COMMON: Persist global debug channels between engine runs 2021-08-16 21:33:15 +02:00
debug.h COMMON: Keep only one instance of global debug flags 2021-08-16 20:43:16 +02:00
dialogs.h
enc-internal.h
endian.h
error.cpp
error.h
events.cpp
events.h BASE: Purge keyboard/mouse events before running Engine 2021-08-23 15:46:33 -05:00
fft.cpp
fft.h
file.cpp COMMON: Do not try to create "." directory in DumpFile 2021-08-08 17:44:14 +02:00
file.h ALL: Use Path type in File functions 2021-08-07 10:44:37 +02:00
forbidden.h
foreach.h
frac.h
fs.cpp BACKENDS: Use FSNode::getName in string operations 2021-08-23 21:22:27 +01:00
fs.h BACKENDS: Use U32String for FSNode::getDisplayName 2021-08-23 21:22:27 +01:00
func.h
gui_options.cpp SCI: Add SQ1 option to enable bearded musicians 2021-08-09 16:40:38 -05:00
gui_options.h SCI: Add SQ1 option to enable bearded musicians 2021-08-09 16:40:38 -05:00
hash-ptr.h
hash-str.h
hashmap.cpp
hashmap.h
huffman.h
iff_container.cpp
iff_container.h
ini-file.cpp
ini-file.h
initializer_list.h
installshield_cab.cpp ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
installshield_cab.h
installshieldv3_archive.cpp ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
installshieldv3_archive.h ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
inttypes.h
json.cpp
json.h
keyboard.h
language.cpp
language.h
list_intern.h
list.h
localization.cpp
localization.h
macresman.cpp COMMON: Proper check for MacBinary presence. This fixes false positives for QT movies 2021-08-10 19:33:27 +02:00
macresman.h COMMON: Use Path type in MacResManager functions 2021-08-07 10:44:37 +02:00
math.h
md5.cpp
md5.h
mdct.cpp
mdct.h
memory.h
memorypool.cpp
memorypool.h
memstream.h
module.mk COMMON: Create Path type 2021-08-07 10:44:37 +02:00
mutex.cpp
mutex.h
noncopyable.h
osd_message_queue.cpp
osd_message_queue.h
pack-end.h
pack-start.h
path.cpp COMMON: Replace Path's += with append/join 2021-08-07 10:44:37 +02:00
path.h COMMON: Replace Path's += with append/join 2021-08-07 10:44:37 +02:00
platform.cpp COMMON: Added MacintoshII platform 2021-08-13 17:07:27 +02:00
platform.h COMMON: Added MacintoshII platform 2021-08-13 17:07:27 +02:00
ptr.h COMMON: Create DisposablePtr::getDispose() 2021-08-12 13:18:27 -04:00
punycode.cpp COMMON: Fix punycoding strings with no ASCII chars 2021-08-22 14:42:33 -04:00
punycode.h COMMON: Fix punycode encoder/decoder 2021-08-22 13:11:26 -04:00
queue.h
quicktime.cpp VIDEO: Use Path type in VideoDecoder functions 2021-08-07 10:44:37 +02:00
quicktime.h VIDEO: Use Path type in VideoDecoder functions 2021-08-07 10:44:37 +02:00
random.cpp COMMON: Fix c++ header usage. 2021-08-18 18:22:55 +03:00
random.h
rational.cpp
rational.h
rdft.cpp
rdft.h
recorderfile.cpp
recorderfile.h
rect.h
rendermode.cpp
rendermode.h
safe-bool.h
savefile.h COMMON: Introduce SaveFileManager::exists 2021-08-23 13:34:35 +02:00
scummsys.h
serializer.h
sinetables.cpp
sinetables.h
sinewindows.cpp
sinewindows.h
singleton.h
span.h
stack.h
str-array.h
str-enc.cpp
str-enc.h
str.cpp COMMON: Replace matchString pathMode with general wildcard exclusions 2021-08-09 17:43:12 -04:00
str.h COMMON: Replace matchString pathMode with general wildcard exclusions 2021-08-09 17:43:12 -04:00
stream.cpp BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
stream.h
streamdebug.cpp
streamdebug.h
stuffit.cpp ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
stuffit.h
substream.h
system.cpp
system.h COMMON: Remove kFeatureHiDPI from OSystem and use getHiDPIScreenFactor instead 2021-08-13 21:41:33 +01:00
taskbar.h
text-to-speech.cpp COMMON: Change TransMan builtin language to "en" instead of "C" 2021-08-04 19:28:47 +01:00
text-to-speech.h
textconsole.cpp
textconsole.h
timer.h
tokenizer.cpp
tokenizer.h
translation.cpp COMMON: Change TransMan builtin language to "en" instead of "C" 2021-08-04 19:28:47 +01:00
translation.h
type-traits.h
types.h
unarj.cpp ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
unarj.h
unicode-bidi.cpp
unicode-bidi.h
unzip.cpp ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
unzip.h
updates.cpp
updates.h
ustr.cpp
ustr.h
util.cpp
util.h
winexe_ne.cpp
winexe_ne.h
winexe_pe.cpp
winexe_pe.h
winexe.cpp
winexe.h
xmlparser.cpp
xmlparser.h
zlib.cpp
zlib.h