diff options
author | Gregory Montoir | 2005-11-10 23:09:20 +0000 |
---|---|---|
committer | Gregory Montoir | 2005-11-10 23:09:20 +0000 |
commit | d50a69507da5b4bd8b6ec5e4d447e17dd03fff8b (patch) | |
tree | 69858cf08b169d2e7cf34643c1fa54ca91e93f42 /scumm/vars.cpp | |
parent | 543072804bb636af26100859bd599fd3153cd198 (diff) | |
download | scummvm-rg350-d50a69507da5b4bd8b6ec5e4d447e17dd03fff8b.tar.gz scummvm-rg350-d50a69507da5b4bd8b6ec5e4d447e17dd03fff8b.tar.bz2 scummvm-rg350-d50a69507da5b4bd8b6ec5e4d447e17dd03fff8b.zip |
V8 uses 4 variables to handle mouse buttons state (like V7), cleanup processKbd() accordingly.
svn-id: r19553
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r-- | scumm/vars.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp index 852183b0f1..eeadbc0da5 100644 --- a/scumm/vars.cpp +++ b/scumm/vars.cpp @@ -451,9 +451,11 @@ void ScummEngine_v8::setupScummVars() { VAR_TALK_ACTOR = 14; VAR_HAVE_MSG = 15; - VAR_MOUSE_BUTTONS = 16; - VAR_RIGHTBTN_HOLD = 17; // TODO: Guess (used in room 10 script 2004, and ship-to-ship combat) - VAR_MOUSE_HOLD = 18; + + VAR_LEFTBTN_DOWN = 16; + VAR_RIGHTBTN_DOWN = 17; + VAR_LEFTBTN_HOLD = 18; + VAR_RIGHTBTN_HOLD = 19; VAR_TIMEDATE_YEAR = 24; VAR_TIMEDATE_MONTH = 25; |