diff options
Diffstat (limited to 'engines/sci/event.h')
-rw-r--r-- | engines/sci/event.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/event.h b/engines/sci/event.h index 42ca16397d..be0322f2a4 100644 --- a/engines/sci/event.h +++ b/engines/sci/event.h @@ -27,6 +27,7 @@ #define SCI_EVENT_H #include "common/list.h" +#include "common/rect.h" namespace Sci { @@ -46,6 +47,13 @@ struct SciEvent { * PC keyboard scancodes. */ short character; + + /** + * The mouse position at the time the event was created. + * + * These are display coordinates! + */ + Common::Point mousePos; }; /*Values for type*/ |