aboutsummaryrefslogtreecommitdiff
path: root/common/stdafx.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-03-16 18:53:02 +0000
committerTorbjörn Andersson2006-03-16 18:53:02 +0000
commit99c34b037717f1062cb79e9cb6f3f3570977f4b6 (patch)
tree4b9db9ee0584567f5ff5eb5d3f3e0dcf833d107e /common/stdafx.h
parent0182b4667927a1ed25bab965f824fd798216805c (diff)
downloadscummvm-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 'common/stdafx.h')
0 files changed, 0 insertions, 0 deletions