aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/cine.h
diff options
context:
space:
mode:
authorKari Salminen2009-06-27 12:26:26 +0000
committerKari Salminen2009-06-27 12:26:26 +0000
commit49dd58de45db302214b65af5b296a21f84f02ebe (patch)
tree96c1b93526b44fb7bb590a9cfbc8dd8b3be218c6 /engines/cine/cine.h
parent5a6573d33de407c69000fba7acbf44cf43eab139 (diff)
downloadscummvm-rg350-49dd58de45db302214b65af5b296a21f84f02ebe.tar.gz
scummvm-rg350-49dd58de45db302214b65af5b296a21f84f02ebe.tar.bz2
scummvm-rg350-49dd58de45db302214b65af5b296a21f84f02ebe.zip
Name Operation Stealth's global variables 251 and 252 and init them in main loop.
These are used as a sort of a backup for the mouse position (x, y) variables 249 and 250. Future Wars's VAR_MOUSE_Y_MODE and Operation Stealth's VAR_MOUSE_X_POS_2ND (251) clash and that's possibly why executePlayerInput currently works incorrectly with Operation Stealth. More reverse engineering is needed... svn-id: r41915
Diffstat (limited to 'engines/cine/cine.h')
-rw-r--r--engines/cine/cine.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/cine/cine.h b/engines/cine/cine.h
index bf56e9189b..1031d6d449 100644
--- a/engines/cine/cine.h
+++ b/engines/cine/cine.h
@@ -127,11 +127,15 @@ extern CineEngine *g_cine;
#define COPY_PROT_FAIL_PRC_NAME "L201.ANI"
enum {
- VAR_MOUSE_X_MODE = 253,
+ // Both FW and OS
VAR_MOUSE_X_POS = 249,
- VAR_MOUSE_Y_MODE = 251,
VAR_MOUSE_Y_POS = 250,
+ // FW only
+ VAR_MOUSE_X_MODE = 253,
+ VAR_MOUSE_Y_MODE = 251,
// OS only
+ VAR_MOUSE_X_POS_2ND = 251, // Many times used in conjunction with VAR_MOUSE_X_POS
+ VAR_MOUSE_Y_POS_2ND = 252, // Many times used in conjunction with VAR_MOUSE_Y_POS
VAR_BYPASS_PROTECTION = 255,
VAR_LOW_MEMORY = 0
};