[Scummvm-git-logs] scummvm master -> 2b6d58cbb202a01c99bc0d6c2318802591ac7492

sluicebox 22204938+sluicebox at users.noreply.github.com
Fri Aug 16 02:46:09 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2b6d58cbb2 SCI: Fix builds when SCI32 disabled


Commit: 2b6d58cbb202a01c99bc0d6c2318802591ac7492
    https://github.com/scummvm/scummvm/commit/2b6d58cbb202a01c99bc0d6c2318802591ac7492
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2019-08-15T17:44:44-07:00

Commit Message:
SCI: Fix builds when SCI32 disabled

Fixes previous commit

Changed paths:
    engines/sci/engine/script_patches.cpp


diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 45d791b..e4f8371 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -138,6 +138,7 @@ static const char *const selectorNameTable[] = {
 	"size",         // EcoQuest 1
 	"signal",       // EcoQuest 1, GK1
 	"obstacles",    // EcoQuest 1, QFG4
+	"handleEvent",  // EcoQuest 2, Shivers
 #ifdef ENABLE_SCI32
 	"newWith",      // SCI2 array script
 	"scrollSelections", // GK2
@@ -145,7 +146,6 @@ static const char *const selectorNameTable[] = {
 	"detailLevel",  // GK2 benchmarking
 	"view",         // RAMA benchmarking, GK1, QFG4
 	"fade",         // Shivers
-	"handleEvent",  // Shivers
 	"test",         // Torin
 	"get",          // Torin, GK1
 	"newRoom",      // GK1
@@ -249,7 +249,8 @@ enum ScriptPatcherSelectors {
 	SELECTOR_delete,
 	SELECTOR_size,
 	SELECTOR_signal,
-	SELECTOR_obstacles
+	SELECTOR_obstacles,
+	SELECTOR_handleEvent
 #ifdef ENABLE_SCI32
 	,
 	SELECTOR_newWith,
@@ -258,7 +259,6 @@ enum ScriptPatcherSelectors {
 	SELECTOR_detailLevel,
 	SELECTOR_view,
 	SELECTOR_fade,
-	SELECTOR_handleEvent,
 	SELECTOR_test,
 	SELECTOR_get,
 	SELECTOR_newRoom,





More information about the Scummvm-git-logs mailing list