From beef27fc10bb714fe37f2ee0c35cd143dc706829 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 24 May 2012 01:43:03 +0300 Subject: 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 --- engines/sci/engine/kernel_tables.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'engines/sci') 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 -- cgit v1.2.3