2006-02-11 22:45:04 +00:00
|
|
|
MODULE := engines/scumm
|
|
|
|
|
|
|
|
MODULE_OBJS := \
|
2006-02-12 00:16:31 +00:00
|
|
|
actor.o \
|
|
|
|
akos.o \
|
|
|
|
base-costume.o \
|
|
|
|
bomp.o \
|
|
|
|
boxes.o \
|
|
|
|
camera.o \
|
|
|
|
charset.o \
|
2008-01-01 15:36:50 +00:00
|
|
|
charset-fontdata.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
costume.o \
|
|
|
|
cursor.o \
|
|
|
|
debugger.o \
|
2007-04-27 20:23:25 +00:00
|
|
|
detection.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
dialogs.o \
|
2006-03-03 15:16:02 +00:00
|
|
|
file.o \
|
2007-08-08 23:31:21 +00:00
|
|
|
file_nes.o \
|
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
|
|
|
gfx_towns.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
gfx.o \
|
2007-12-27 11:40:29 +00:00
|
|
|
he/resource_he.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
he/script_v60he.o \
|
2007-12-27 11:40:29 +00:00
|
|
|
he/script_v70he.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
he/sound_he.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
help.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
imuse/imuse.o \
|
2006-03-05 05:53:29 +00:00
|
|
|
imuse/imuse_part.o \
|
|
|
|
imuse/imuse_player.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
imuse/instrument.o \
|
2006-03-12 18:46:33 +00:00
|
|
|
imuse/sysex_samnmax.o \
|
|
|
|
imuse/sysex_scumm.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
input.o \
|
|
|
|
midiparser_ro.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
object.o \
|
|
|
|
palette.o \
|
|
|
|
player_mod.o \
|
|
|
|
player_nes.o \
|
2009-11-23 23:17:15 +00:00
|
|
|
player_pce.o \
|
2009-11-26 00:31:19 +00:00
|
|
|
player_sid.o \
|
2010-08-18 21:38:43 +00:00
|
|
|
player_towns.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
player_v1.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
player_v2.o \
|
|
|
|
player_v2a.o \
|
2010-10-25 16:42:24 +00:00
|
|
|
player_v2base.o \
|
2009-06-06 18:21:49 +00:00
|
|
|
player_v2cms.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
player_v3a.o \
|
2009-06-12 20:10:27 +00:00
|
|
|
player_v4a.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
resource_v2.o \
|
|
|
|
resource_v3.o \
|
|
|
|
resource_v4.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
resource.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
room.o \
|
|
|
|
saveload.o \
|
2007-02-25 14:47:51 +00:00
|
|
|
script_v0.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
script_v2.o \
|
2009-04-19 00:59:28 +00:00
|
|
|
script_v3.o \
|
|
|
|
script_v4.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
script_v5.o \
|
|
|
|
script_v6.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
script.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
scumm.o \
|
|
|
|
sound.o \
|
|
|
|
string.o \
|
|
|
|
usage_bits.o \
|
|
|
|
util.o \
|
|
|
|
vars.o \
|
2006-02-20 20:57:26 +00:00
|
|
|
verbs.o
|
2006-02-11 22:45:04 +00:00
|
|
|
|
2008-02-17 20:25:07 +00:00
|
|
|
ifdef USE_ARM_COSTUME_ASM
|
|
|
|
MODULE_OBJS += \
|
|
|
|
proc3ARM.o
|
|
|
|
endif
|
|
|
|
|
2008-05-06 03:00:26 +00:00
|
|
|
ifdef ENABLE_SCUMM_7_8
|
2006-02-11 22:45:04 +00:00
|
|
|
MODULE_OBJS += \
|
2006-02-12 00:16:31 +00:00
|
|
|
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 \
|
2006-10-27 22:58:48 +00:00
|
|
|
smush/channel.o \
|
2006-02-12 00:16:31 +00:00
|
|
|
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
|
2008-01-01 15:36:50 +00:00
|
|
|
|
2007-06-24 07:02:55 +00:00
|
|
|
ifdef USE_ARM_SMUSH_ASM
|
|
|
|
MODULE_OBJS += \
|
|
|
|
smush/codec47ARM.o
|
|
|
|
endif
|
|
|
|
|
2006-02-11 22:45:04 +00:00
|
|
|
endif
|
|
|
|
|
2007-07-10 20:20:50 +00:00
|
|
|
ifdef USE_ARM_GFX_ASM
|
|
|
|
MODULE_OBJS += \
|
|
|
|
gfxARM.o
|
|
|
|
endif
|
|
|
|
|
2008-05-06 03:00:26 +00:00
|
|
|
ifdef ENABLE_HE
|
2006-02-11 22:45:04 +00:00
|
|
|
MODULE_OBJS += \
|
2006-05-31 19:28:54 +00:00
|
|
|
he/animation_he.o \
|
2006-11-06 13:40:24 +00:00
|
|
|
he/cup_player_he.o \
|
2006-02-15 00:57:50 +00:00
|
|
|
he/floodfill_he.o \
|
|
|
|
he/logic_he.o \
|
|
|
|
he/palette_he.o \
|
2007-12-27 11:40:29 +00:00
|
|
|
he/script_v71he.o \
|
2006-02-15 00:57:50 +00:00
|
|
|
he/script_v72he.o \
|
|
|
|
he/script_v80he.o \
|
|
|
|
he/script_v90he.o \
|
|
|
|
he/script_v100he.o \
|
|
|
|
he/sprite_he.o \
|
|
|
|
he/wiz_he.o
|
2006-02-11 22:45:04 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
# This module can be built as a plugin
|
2008-05-06 03:00:26 +00:00
|
|
|
ifeq ($(ENABLE_SCUMM), DYNAMIC_PLUGIN)
|
2006-02-11 22:45:04 +00:00
|
|
|
PLUGIN := 1
|
|
|
|
endif
|
|
|
|
|
2008-01-27 19:47:41 +00:00
|
|
|
# Include common rules
|
2006-06-24 08:48:11 +00:00
|
|
|
include $(srcdir)/rules.mk
|