scummvm/engines/scumm/module.mk
Florian Kagerer 0d8f4a22ae SCUMM/FM-TOWNS: fix palette and other graphics issues
This commit should fix at least the following bugs/feature requests: #1032859, #1252088, #1055391, #1315968, #1315938, #1742106, #812891.
The FM-Towns version of Scumm games use a mixed graphics mode with 2 layers (one with 32767 colors and one with 16 colors). Among other things I have added a screen output class which emulates this  dual layer approach which allows specific hardware effects like enabling and disabling layers (e.g. in the voodoo priestess scene in MI1).

Old savegames (saved before this update) will load, but you’ll encounter palette glitches in the verb/inventory screen, since the 16 color palette for layer 2 is not contained in your savegame. This will be true at least for version 5 games. Certain scene change actions (which require the verb/inventory part to be redrawn) might correct this (e.g. try looking at the treasure map in MI1 and closing it). Version 3 games should be okay, since they use a static text palette which is never changed and which will be reset after loading a savegame.

This update requires a USE_RGB_COLORS setting for proper operation. 8 bit users will get a warning that they’ll have to expect palette glitches . Apart from that the engine in 8 bit mode should not only still work okay, but also benefit from some of the other (non palette related) improvements (e.g. bug #1032859 should be fixed even in 8 bit mode).

Japanese font drawing hasn’t been improved much yet. This will be a separate task.

svn-id: r52966
2010-10-01 19:24:52 +00:00

135 lines
2.2 KiB
Makefile

MODULE := engines/scumm
MODULE_OBJS := \
actor.o \
akos.o \
base-costume.o \
bomp.o \
boxes.o \
camera.o \
charset.o \
charset-fontdata.o \
costume.o \
cursor.o \
debugger.o \
detection.o \
dialogs.o \
file.o \
file_nes.o \
gfx_towns.o \
gfx.o \
he/resource_he.o \
he/script_v60he.o \
he/script_v70he.o \
he/sound_he.o \
help.o \
imuse/imuse.o \
imuse/imuse_part.o \
imuse/imuse_player.o \
imuse/instrument.o \
imuse/sysex_samnmax.o \
imuse/sysex_scumm.o \
input.o \
midiparser_ro.o \
object.o \
palette.o \
player_mod.o \
player_nes.o \
player_pce.o \
player_sid.o \
player_towns.o \
player_v1.o \
player_v2.o \
player_v2a.o \
player_v2cms.o \
player_v3a.o \
player_v4a.o \
resource_v2.o \
resource_v3.o \
resource_v4.o \
resource.o \
room.o \
saveload.o \
script_v0.o \
script_v2.o \
script_v3.o \
script_v4.o \
script_v5.o \
script_v6.o \
script.o \
scumm.o \
sound.o \
string.o \
usage_bits.o \
util.o \
vars.o \
verbs.o
ifdef USE_ARM_COSTUME_ASM
MODULE_OBJS += \
proc3ARM.o
endif
ifdef ENABLE_SCUMM_7_8
MODULE_OBJS += \
nut_renderer.o \
script_v8.o \
imuse_digi/dimuse.o \
imuse_digi/dimuse_bndmgr.o \
imuse_digi/dimuse_codecs.o \
imuse_digi/dimuse_music.o \
imuse_digi/dimuse_sndmgr.o \
imuse_digi/dimuse_script.o \
imuse_digi/dimuse_track.o \
imuse_digi/dimuse_tables.o \
insane/insane.o \
insane/insane_ben.o \
insane/insane_enemy.o \
insane/insane_scenes.o \
insane/insane_iact.o \
smush/channel.o \
smush/codec1.o \
smush/codec37.o \
smush/codec47.o \
smush/imuse_channel.o \
smush/smush_player.o \
smush/saud_channel.o \
smush/smush_mixer.o \
smush/smush_font.o
ifdef USE_ARM_SMUSH_ASM
MODULE_OBJS += \
smush/codec47ARM.o
endif
endif
ifdef USE_ARM_GFX_ASM
MODULE_OBJS += \
gfxARM.o
endif
ifdef ENABLE_HE
MODULE_OBJS += \
he/animation_he.o \
he/cup_player_he.o \
he/floodfill_he.o \
he/logic_he.o \
he/palette_he.o \
he/script_v71he.o \
he/script_v72he.o \
he/script_v80he.o \
he/script_v90he.o \
he/script_v100he.o \
he/sprite_he.o \
he/wiz_he.o
endif
# This module can be built as a plugin
ifeq ($(ENABLE_SCUMM), DYNAMIC_PLUGIN)
PLUGIN := 1
endif
# Include common rules
include $(srcdir)/rules.mk