aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-02 15:07:36 +0100
committerMartin Kiewitz2016-02-02 15:07:36 +0100
commit604d906038576344e4196d54445603994604c24c (patch)
treec60882f289c98dd538c9b5e42fbc8008e678a572 /engines/sci
parent7635f3c73e9eb7727dca99f96e98afa0cfac731b (diff)
downloadscummvm-rg350-604d906038576344e4196d54445603994604c24c.tar.gz
scummvm-rg350-604d906038576344e4196d54445603994604c24c.tar.bz2
scummvm-rg350-604d906038576344e4196d54445603994604c24c.zip
SCI: make event type, modifiers + character uint16
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/event.h b/engines/sci/event.h
index 1e76f8e6f6..6d4f0652df 100644
--- a/engines/sci/event.h
+++ b/engines/sci/event.h
@@ -29,14 +29,14 @@
namespace Sci {
struct SciEvent {
- short type;
- short modifiers;
+ uint16 type;
+ uint16 modifiers;
/**
* For keyboard events: the actual character of the key that was pressed
* For 'Alt', characters are interpreted by their
* PC keyboard scancodes.
*/
- short character;
+ uint16 character;
/**
* The mouse position at the time the event was created.