aboutsummaryrefslogtreecommitdiff
path: root/tfmx
diff options
context:
space:
mode:
authorNorbert Lange2009-06-27 07:07:20 +0000
committerNorbert Lange2009-06-27 07:07:20 +0000
commitcf351dffe6f91e43496080aba2b9df51aa10f061 (patch)
treea15b348eeb7eb65c3f2b1578ce3c9befa59e53cd /tfmx
parent536eb14d03ee02ed52e7c82372f3f955a7026245 (diff)
downloadscummvm-rg350-cf351dffe6f91e43496080aba2b9df51aa10f061.tar.gz
scummvm-rg350-cf351dffe6f91e43496080aba2b9df51aa10f061.tar.bz2
scummvm-rg350-cf351dffe6f91e43496080aba2b9df51aa10f061.zip
Modified macro-,patter-,track-step functions to loop aslong they are supposed to execute. (instead of doing that loop "outside").
Added "addBeginn" Effect, not used by MI but simple to implemt. svn-id: r41910
Diffstat (limited to 'tfmx')
-rw-r--r--tfmx/tfmxdebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tfmx/tfmxdebug.cpp b/tfmx/tfmxdebug.cpp
index cf2595a220..95bad15a96 100644
--- a/tfmx/tfmxdebug.cpp
+++ b/tfmx/tfmxdebug.cpp
@@ -144,7 +144,9 @@ void dumpTracksteps(Audio::Tfmx &player, uint16 first, uint16 last) {
}
void dumpTrackstepsBySong(Audio::Tfmx &player, int song) {
+ debug("Song %02X: Pos %02X - %02X. Tempo: %02X", song, player._subsong[song].songstart, player._subsong[song].songend, player._subsong[song].tempo);
dumpTracksteps(player, player._subsong[song].songstart, player._subsong[song].songend);
+ debug("");
}
void dumpMacro(Audio::Tfmx &player, uint16 macroIndex, uint16 len, uint16 start) {