Files
scummvm/engines/sci/module.mk
T
Filippos Karapetis a092a8a08e SCI: Remove the unused and unnecessary VM hooks mechanism
This was introduced as an extra mechanism of patching game scripts.
However, it's completely hardcoded with offsets for specific game
versions, with no endianess handling. Furthermore, the only patch
it's used for at the moment (input prompt for SQ3) has no visible
changes.

The SCI engine's script patcher has pattern matching functionality,
which allows it to be used in a variety of game versions. Furthermore,
it supports endianess handling for BE versions. Thus, it makes no
sense to keep a separate and complex script patching functionality
for a single patch that is hardcoded for a single game version with
no actual change in functionality. Since this is a fan patch, all of
these script changes can be added as part of the patch without any
changes to the engine code. We've discussed this with @sluicebox and
decided to remove all of this code, which should not have been part
of the engine's codebase because it clashes with the existing script
patcher
2021-10-17 01:37:33 +03:00

121 lines
2.4 KiB
Makefile

MODULE := engines/sci
MODULE_OBJS := \
console.o \
dialogs.o \
event.o \
metaengine.o \
sci.o \
util.o \
engine/features.o \
engine/file.o \
engine/gc.o \
engine/guest_additions.o \
engine/kernel.o \
engine/kevent.o \
engine/kfile.o \
engine/kgraphics.o \
engine/klists.o \
engine/kmath.o \
engine/kmenu.o \
engine/kmisc.o \
engine/kmovement.o \
engine/kparse.o \
engine/kpathing.o \
engine/kscripts.o \
engine/ksound.o \
engine/kstring.o \
engine/kvideo.o \
engine/message.o \
engine/object.o \
engine/savegame.o \
engine/script.o \
engine/scriptdebug.o \
engine/script_patches.o \
engine/selector.o \
engine/seg_manager.o \
engine/segment.o \
engine/state.o \
engine/static_selectors.o \
engine/vm.o \
engine/vm_types.o \
engine/workarounds.o \
graphics/animate.o \
graphics/cache.o \
graphics/compare.o \
graphics/controls16.o \
graphics/coordadjuster.o \
graphics/cursor.o \
graphics/fontsjis.o \
graphics/fontkorean.o \
graphics/maciconbar.o \
graphics/menu.o \
graphics/paint16.o \
graphics/palette.o \
graphics/picture.o \
graphics/portrait.o \
graphics/ports.o \
graphics/remap.o \
graphics/scifont.o \
graphics/scifx.o \
graphics/screen.o \
graphics/text16.o \
graphics/transitions.o \
graphics/view.o \
parser/grammar.o \
parser/said.o \
parser/vocabulary.o \
resource/decompressor.o \
resource/resource.o \
resource/resource_audio.o \
resource/resource_patcher.o \
sound/audio.o \
sound/midiparser_sci.o \
sound/music.o \
sound/soundcmd.o \
sound/sync.o \
sound/drivers/adlib.o \
sound/drivers/amigamac0.o \
sound/drivers/amigamac1.o \
sound/drivers/cms.o \
sound/drivers/fb01.o \
sound/drivers/fmtowns.o \
sound/drivers/midi.o \
sound/drivers/pcjr.o \
sound/drivers/pc9801.o \
video/seq_decoder.o
ifdef ENABLE_SCI32
MODULE_OBJS += \
engine/hoyle5poker.o \
engine/kgraphics32.o \
graphics/celobj32.o \
graphics/controls32.o \
graphics/frameout.o \
graphics/paint32.o \
graphics/plane32.o \
graphics/palette32.o \
graphics/remap32.o \
graphics/screen_item32.o \
graphics/text32.o \
graphics/transitions32.o \
graphics/video32.o \
graphics/cursor32.o \
graphics/maccursor32.o \
sound/audio32.o \
sound/decoders/sol.o \
video/robot_decoder.o
endif
# This module can be built as a plugin
ifeq ($(ENABLE_SCI), DYNAMIC_PLUGIN)
PLUGIN := 1
endif
# Include common rules
include $(srcdir)/rules.mk
# Detection objects
DETECT_OBJS += $(MODULE)/detection.o