scummvm/sword2
Torbjörn Andersson 66d9b4315a Re-enabled the CD swapping code, after rewriting it a bit.
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
2003-11-13 07:59:52 +00:00
..
driver Re-enabled the CD swapping code, after rewriting it a bit. 2003-11-13 07:59:52 +00:00
.cvsignore bs2 2003-07-28 01:44:38 +00:00
anims.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
build_display.cpp Re-enabled the CD swapping code, after rewriting it a bit. 2003-11-13 07:59:52 +00:00
build_display.h More moving of stuff into classes 2003-11-01 16:55:20 +00:00
console.cpp Removed SVM_timeGetTime(). We may as well call get_msecs() directly. 2003-11-11 10:30:25 +00:00
console.h Moved more stuff into classes, changed some static allocation to dynamic, 2003-11-08 15:47:51 +00:00
controls.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
controls.h Moved more stuff into classes, changed some static allocation to dynamic, 2003-11-08 15:47:51 +00:00
credits.h bs2 -> sword2 2003-10-28 19:51:30 +00:00
debug.cpp Removed SVM_timeGetTime(). We may as well call get_msecs() directly. 2003-11-11 10:30:25 +00:00
debug.h More moving of stuff into classes. I had to make a few changes/cleanups to 2003-11-02 15:58:45 +00:00
defs.h The resource and memory managers are now created dynamically. 2003-11-03 07:47:42 +00:00
events.cpp The script engine frequently needs to pass pointers to various structures 2003-11-10 07:52:15 +00:00
function.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
header.h added namespace Sword2 2003-10-04 00:52:27 +00:00
icons.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
icons.h More moving of stuff into classes. I had to make a few changes/cleanups to 2003-11-02 15:58:45 +00:00
interpreter.cpp The script engine frequently needs to pass pointers to various structures 2003-11-10 07:52:15 +00:00
interpreter.h Moved some more stuff into the Logic class. 2003-10-21 08:54:50 +00:00
layers.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
layers.h Moved some more "homeless" functions into Sword2Engine. (Don't worry -- I 2003-11-02 17:17:10 +00:00
logic.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
logic.h Removed some now redundant header files. 2003-11-08 18:15:35 +00:00
maketext.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
maketext.h Moved more stuff into classes, changed some static allocation to dynamic, 2003-11-08 15:47:51 +00:00
mem_view.cpp The resource and memory managers are now created dynamically. 2003-11-03 07:47:42 +00:00
memory.cpp The script engine frequently needs to pass pointers to various structures 2003-11-10 07:52:15 +00:00
memory.h The script engine frequently needs to pass pointers to various structures 2003-11-10 07:52:15 +00:00
module.mk Re-enabled the CD swapping code, after rewriting it a bit. 2003-11-13 07:59:52 +00:00
mouse.cpp cleanup 2003-11-12 08:21:18 +00:00
mouse.h cleanup 2003-11-12 08:21:18 +00:00
object.h Moved the opcode functions into the Logic class. 2003-10-18 08:11:50 +00:00
protocol.cpp The resource and memory managers are now created dynamically. 2003-11-03 07:47:42 +00:00
protocol.h The resource and memory managers are now created dynamically. 2003-11-03 07:47:42 +00:00
resman.cpp Re-enabled the CD swapping code, after rewriting it a bit. 2003-11-13 07:59:52 +00:00
resman.h Re-enabled the CD swapping code, after rewriting it a bit. 2003-11-13 07:59:52 +00:00
router.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
router.h Moved more stuff into classes, changed some static allocation to dynamic, 2003-11-08 15:47:51 +00:00
save_rest.cpp The script engine frequently needs to pass pointers to various structures 2003-11-10 07:52:15 +00:00
save_rest.h The resource and memory managers are now created dynamically. 2003-11-03 07:47:42 +00:00
scroll.cpp cleanup whitespaces 2003-11-08 19:47:20 +00:00
sound.cpp cleanup whitespaces 2003-11-08 19:47:20 +00:00
sound.h The resource and memory managers are now created dynamically. 2003-11-03 07:47:42 +00:00
speech.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00
speech.h More moving of stuff into classes. 2003-11-04 17:26:59 +00:00
startup.cpp The script engine frequently needs to pass pointers to various structures 2003-11-10 07:52:15 +00:00
startup.h Create g_logic dynamically. More moving of stuff into classes. 2003-11-04 18:02:49 +00:00
sword2.cpp Re-enabled the CD swapping code, after rewriting it a bit. 2003-11-13 07:59:52 +00:00
sword2.h cleanup 2003-11-12 08:21:18 +00:00
sync.cpp Removed some now redundant header files. 2003-11-08 18:15:35 +00:00
tony_gsdk.cpp Removed some now redundant header files. 2003-11-08 18:15:35 +00:00
walker.cpp Moved low-level keyboard and mouse handling to a new Input class, and 2003-11-11 07:43:02 +00:00