aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-05-24 01:43:03 +0300
committerFilippos Karapetis2012-05-24 01:44:25 +0300
commitbeef27fc10bb714fe37f2ee0c35cd143dc706829 (patch)
tree2391ab6ec7a2cf7b79d587e4ede196c6f5869ea0
parent45974a1bf03b25cd6a191702b190478cc4c1007e (diff)
downloadscummvm-rg350-beef27fc10bb714fe37f2ee0c35cd143dc706829.tar.gz
scummvm-rg350-beef27fc10bb714fe37f2ee0c35cd143dc706829.tar.bz2
scummvm-rg350-beef27fc10bb714fe37f2ee0c35cd143dc706829.zip
SCI: Map the rarely used VibrateMouse kernel function to be an empty call
This is a function used to implement vibration in the floppy version of QFG4 for exotic force feedback mice, such as the Logitech Cyberman
-rw-r--r--engines/sci/engine/kernel_tables.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h
index ff06b79d72..1fa12b01fd 100644
--- a/engines/sci/engine/kernel_tables.h
+++ b/engines/sci/engine/kernel_tables.h
@@ -507,13 +507,20 @@ static SciKernelMapEntry s_kernelMap[] = {
// SetScroll - called by script 64909, Styler::doit()
// PalCycle - called by Game::newRoom. Related to RemapColors.
- // VibrateMouse - used in QFG4
// SCI2 Empty functions
// Debug function used to track resources
{ MAP_EMPTY(ResourceTrack), SIG_EVERYWHERE, "(.*)", NULL, NULL },
-
+ // Future TODO: This call is used in the floppy version of QFG4 to add
+ // vibration to exotic mice with force feedback, such as the Logitech
+ // Cyberman and Wingman mice. Since this is only used for very exotic
+ // hardware and we have no direct and cross-platform way of communicating
+ // with them via SDL, plus we would probably need to make changes to common
+ // code, this call is mapped to an empty function for now as it's a rare
+ // feature not worth the effort.
+ { MAP_EMPTY(VibrateMouse), SIG_EVERYWHERE, "(.*)", NULL, NULL },
+
// Unused / debug SCI2 unused functions, always mapped to kDummy
// AddMagnify/DeleteMagnify are both called by script 64979 (the Magnifier