Difference between revisions of "SCUMM/TODO"

Jump to navigation Jump to search
599 bytes added ,  08:50, 12 April 2010
Line 7: Line 7:
* Clean up class Gdi. This class right now mostly is about decoding various graphic formats. However some other functionality has crept into it, too. It would be nice if class Gdi would only contain the GFX decoding code, and nothing else (assuming that is feasible w/o too much trouble). OTOH, the code which is responsible for managing virtual screens, rendering virtual screens to the real display etc. could be grouped into a new class (e.g. VSManager or so).
* Clean up class Gdi. This class right now mostly is about decoding various graphic formats. However some other functionality has crept into it, too. It would be nice if class Gdi would only contain the GFX decoding code, and nothing else (assuming that is feasible w/o too much trouble). OTOH, the code which is responsible for managing virtual screens, rendering virtual screens to the real display etc. could be grouped into a new class (e.g. VSManager or so).
* Reduce kMD5FileSizeLimit from 1MB to e.g. 80 kb (this will force us to recompute the MD5 for the mac bundles, but hopefully nothing else)
* Reduce kMD5FileSizeLimit from 1MB to e.g. 80 kb (this will force us to recompute the MD5 for the mac bundles, but hopefully nothing else)
** The main motivation for that is to improve detection speed: If a file has the right name but is big, we waste a lot of time reading 1MB of data and computing its MD5, when it should suffice to look at a few kilobytes at most.
** Alternatively, change it to 5000 bytes to match the AdvancedDetector. This will affect far more games, so we'd end up with many obsolete MD5 ideas. But since we are pretty good at detecting SCUMM games correctly even without MD5, this shouldn't be so bad. However, some files might not be easily distinguishable with only the first 5000 bytes, need to check on that.
* AdLib: There seems to be some loop/repeat mechanism in old AdLib sound effects that we do not handle. [http://vogons.zetafleet.com/viewtopic.php?t=8644 This thread] has some discussion, and recordings. Two good examples are the door opening sound in Indy 3 and Monkey Island 1 (floppy), and the typewriter sound in Indy 3. See {{BugTrack|num=2027877}}.
* AdLib: There seems to be some loop/repeat mechanism in old AdLib sound effects that we do not handle. [http://vogons.zetafleet.com/viewtopic.php?t=8644 This thread] has some discussion, and recordings. Two good examples are the door opening sound in Indy 3 and Monkey Island 1 (floppy), and the typewriter sound in Indy 3. See {{BugTrack|num=2027877}}.
* AdLib: We don't handle (global) music volume changes for AdLib sounds in older SCUMM games. See {{BugTrack|num=1159581}}.
* AdLib: We don't handle (global) music volume changes for AdLib sounds in older SCUMM games. See {{BugTrack|num=1159581}}.
1,079

edits

Navigation menu