scummvm/sword2
Robert Göffringmann fd5a9be26e removed lots of unnecessary seek()s and read()s by keeping the datafiles' index tables in memory instead of accessing them over and over again, which caused major slowdowns with cd accesses.
Also, the caching of datafiles depends on the memory usage now, not on the number of screens that the player entered in the meantime.
The old behaviour made the engine run out of memory on the PS2.

svn-id: r16843
2005-02-21 02:29:18 +00:00
..
driver This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
.cvsignore
anims.cpp More BS2 restructuring. 2005-02-20 15:38:48 +00:00
build_display.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
build_display.h This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
console.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
console.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
controls.cpp More BS2 restructuring. 2005-02-20 15:38:48 +00:00
controls.h More BS2 restructuring. 2005-02-20 15:38:48 +00:00
debug.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
debug.h This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
defs.h More BS2 restructuring. 2005-02-20 15:38:48 +00:00
events.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
function.cpp More BS2 restructuring. 2005-02-20 15:38:48 +00:00
header.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
icons.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
icons.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
interpreter.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
interpreter.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
layers.cpp removed lots of unnecessary seek()s and read()s by keeping the datafiles' index tables in memory instead of accessing them over and over again, which caused major slowdowns with cd accesses. 2005-02-21 02:29:18 +00:00
layers.h This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
logic.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
logic.h This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
maketext.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
maketext.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
memory.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
memory.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
module.mk Removed the buffering of mouse and keyboard events. I don't think any of 2004-05-09 13:32:04 +00:00
mouse.cpp More BS2 restructuring. 2005-02-20 15:38:48 +00:00
mouse.h More BS2 restructuring. 2005-02-20 15:38:48 +00:00
object.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
protocol.cpp Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
resman.cpp removed lots of unnecessary seek()s and read()s by keeping the datafiles' index tables in memory instead of accessing them over and over again, which caused major slowdowns with cd accesses. 2005-02-21 02:29:18 +00:00
resman.h removed lots of unnecessary seek()s and read()s by keeping the datafiles' index tables in memory instead of accessing them over and over again, which caused major slowdowns with cd accesses. 2005-02-21 02:29:18 +00:00
router.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
router.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
save_rest.cpp More BS2 restructuring. 2005-02-20 15:38:48 +00:00
save_rest.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
scroll.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
sound.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
sound.h This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00
speech.cpp More BS2 restructuring. 2005-02-20 15:38:48 +00:00
speech.h Updated copyright header, as discussed on the mailing list. 2005-01-17 10:57:15 +00:00
startup.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
sword2.cpp removed lots of unnecessary seek()s and read()s by keeping the datafiles' index tables in memory instead of accessing them over and over again, which caused major slowdowns with cd accesses. 2005-02-21 02:29:18 +00:00
sword2.h More BS2 restructuring. 2005-02-20 15:38:48 +00:00
sync.cpp Began what I hope is the final major restructuring of the BS2 engine. 2005-01-28 16:33:14 +00:00
walker.cpp This is the second part of the BS2 restructuring. There are two new 2005-02-19 14:02:16 +00:00