mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-12 20:50:56 +00:00
66d9b4315a
If a cluster file isn't found the resource manager will first check if it's one of the files that it expects to find on the hard disk. If so, it's considered a fatal error. Otherwise it will present the user with an "Insert CD1" or "Insert CD2" message, just like the original did. Unlike the original, the user will have to press a button or click the mouse to indicate when he's done. I don't know if we even can detect the CD automatically in any portable way. As far as I can see, we'll need at least two separate path settings for this to actually work: one for the HD install directory, and one or two for the CDs. The file that are supposed to be found on the HD are only on one of the CDs, so the amount of CD swapping would probably be unbearable otherwise. As a consequence, I haven't actually tried running the game from CD yet. By the way, the old caching code has been removed completely now. All it did was to copy the cluster file to HD for faster access. ScummVM never did that, but so far no one has complained. svn-id: r11273
53 lines
998 B
Makefile
53 lines
998 B
Makefile
MODULE := sword2
|
|
|
|
MODULE_OBJS := \
|
|
sword2/anims.o \
|
|
sword2/build_display.o \
|
|
sword2/console.o \
|
|
sword2/controls.o \
|
|
sword2/debug.o \
|
|
sword2/events.o \
|
|
sword2/function.o \
|
|
sword2/icons.o \
|
|
sword2/interpreter.o \
|
|
sword2/layers.o \
|
|
sword2/logic.o \
|
|
sword2/maketext.o \
|
|
sword2/memory.o \
|
|
sword2/mem_view.o \
|
|
sword2/mouse.o \
|
|
sword2/protocol.o \
|
|
sword2/resman.o \
|
|
sword2/router.o \
|
|
sword2/save_rest.o \
|
|
sword2/scroll.o \
|
|
sword2/sound.o \
|
|
sword2/speech.o \
|
|
sword2/startup.o \
|
|
sword2/sword2.o \
|
|
sword2/sync.o \
|
|
sword2/tony_gsdk.o \
|
|
sword2/walker.o \
|
|
sword2/driver/d_draw.o \
|
|
sword2/driver/d_sound.o \
|
|
sword2/driver/keyboard.o \
|
|
sword2/driver/language.o \
|
|
sword2/driver/menu.o \
|
|
sword2/driver/_mouse.o \
|
|
sword2/driver/palette.o \
|
|
sword2/driver/rdwin.o \
|
|
sword2/driver/render.o \
|
|
sword2/driver/sprite.o
|
|
|
|
MODULE_DIRS += \
|
|
sword2 \
|
|
sword2/driver
|
|
|
|
# This module can be built as a plugin
|
|
ifdef BUILD_PLUGINS
|
|
PLUGIN := 1
|
|
endif
|
|
|
|
# Include common rules
|
|
include common.rules
|