aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/maxtrax.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mods/maxtrax.h')
-rw-r--r--sound/mods/maxtrax.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/mods/maxtrax.h b/sound/mods/maxtrax.h
index 4055c750aa..3efed92954 100644
--- a/sound/mods/maxtrax.h
+++ b/sound/mods/maxtrax.h
@@ -156,7 +156,7 @@ public:
uint32 uinqueId;
uint32 lastTicks;
uint32 tocksLeft;
- uint32 portaTicks;
+ int32 portaTicks;
uint32 incrVolume;
uint32 periodOffset;
/*ifne FASTSOUND
@@ -205,6 +205,8 @@ public:
void freePatches();
void freeScores();
+ static int32 omgItsAntiLog(uint32 val);
+ int calcNote(VoiceContext &voice);
int8 noteOn(ChannelContext &channel, byte note, uint16 volume, uint16 pri);
void noteOff(ChannelContext &channel, byte note);
void killVoice(byte num);