diff options
author | Torbjörn Andersson | 2006-03-16 18:53:02 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-03-16 18:53:02 +0000 |
commit | 99c34b037717f1062cb79e9cb6f3f3570977f4b6 (patch) | |
tree | 4b9db9ee0584567f5ff5eb5d3f3e0dcf833d107e /doc | |
parent | 0182b4667927a1ed25bab965f824fd798216805c (diff) | |
download | scummvm-rg350-99c34b037717f1062cb79e9cb6f3f3570977f4b6.tar.gz scummvm-rg350-99c34b037717f1062cb79e9cb6f3f3570977f4b6.tar.bz2 scummvm-rg350-99c34b037717f1062cb79e9cb6f3f3570977f4b6.zip |
We have several functions where we need to find the pointer to a program or an
instrument. These are found using the lookup tables in _soundData on offsets 0
and 500 respectively. Added helper functions for that, which makes the code a
lot tidier. Particularly in update_setupRhythmSection(), where it's now much
clearer where it's getting all those "unk" values from.
Use the checkValue() function (which limits the "total level" to its valid
range) for the calculateOpLevel1() and 2() functions as well.
Renamed updateCallback16() to update_waitForEndOfProgram().
svn-id: r21337
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions