aboutsummaryrefslogtreecommitdiff
path: root/tfmx/tfmxplayer.cpp
diff options
context:
space:
mode:
authorNorbert Lange2009-07-01 23:11:56 +0000
committerNorbert Lange2009-07-01 23:11:56 +0000
commit9f8d9de11db887801940a042c59da9591b120bf5 (patch)
treec37cee8ea09630b6b0ed012a0d71d17370858891 /tfmx/tfmxplayer.cpp
parent7c7ad0d5f139e24a56da22123376452c87535669 (diff)
downloadscummvm-rg350-9f8d9de11db887801940a042c59da9591b120bf5.tar.gz
scummvm-rg350-9f8d9de11db887801940a042c59da9591b120bf5.tar.bz2
scummvm-rg350-9f8d9de11db887801940a042c59da9591b120bf5.zip
added a skeleton for maxtrax modules. Not much happening yet, just reading and displaying a bit of information for maxtrax file
svn-id: r42013
Diffstat (limited to 'tfmx/tfmxplayer.cpp')
-rw-r--r--tfmx/tfmxplayer.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tfmx/tfmxplayer.cpp b/tfmx/tfmxplayer.cpp
index efc3ce68b1..7dddb9fd88 100644
--- a/tfmx/tfmxplayer.cpp
+++ b/tfmx/tfmxplayer.cpp
@@ -7,9 +7,10 @@
#include "common/debug.h"
#include "sound/mixer.h"
-#include "sound/mods/protracker.h"
#include "sound/mods/tfmx.h"
+#if defined(TFMX_CMDLINE_TOOL)
+
#include "tfmx/tfmxdebug.h"
#define FILEDIR ""
@@ -46,7 +47,7 @@ Audio::Tfmx *loadTfmxfile(const char *mdatName, const char *sampleName) {
void runFlac(int chan, int bits, int sr, const char *fileName);
-void tfmxmain(const int argc, const char *const argv[]) {
+void modcmdmain(const int argc, const char *const argv[]) {
debug("Started Scumm&VM");
debug("Sound celebrating utility for monkey melodies & Various Malfunctions");
debug("");
@@ -167,4 +168,4 @@ void runFlac( int chan, int bits, int sr, const char *fileName) {
system(cmd);
}
-
+#endif // #if defined(TFMX_CMDLINE_TOOL)