aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/tfmx.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mods/tfmx.h')
-rw-r--r--sound/mods/tfmx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/mods/tfmx.h b/sound/mods/tfmx.h
index 3064a1c86a..b6c4862178 100644
--- a/sound/mods/tfmx.h
+++ b/sound/mods/tfmx.h
@@ -49,6 +49,7 @@ public:
void doSong(int songPos);
void doMacro(int macro, int note);
bool load(Common::SeekableReadStream &musicData, Common::SeekableReadStream &sampleData);
+ int getTicks() {return _playerCtx.tickCount;}
// Note: everythings public so the debug-Routines work.
// private:
@@ -200,6 +201,8 @@ public:
int8 fadeTime;
int8 fadeReset;
int8 fadeSlope; */
+
+ int tickCount;
} _playerCtx;
void initMacroProgramm(ChannelContext &channel) {