summaryrefslogtreecommitdiff
path: root/src/mus2mid.h
diff options
context:
space:
mode:
authorSimon Howard2006-07-22 16:43:12 +0000
committerSimon Howard2006-07-22 16:43:12 +0000
commit87c062c1d4f7788620183f36b7239cdf28c4d2d1 (patch)
tree8c0981396399bc26b4ec8da010edb825af04f5db /src/mus2mid.h
parent6b9f3748cf561254f085fa83ada80cb5ba9b3946 (diff)
downloadchocolate-doom-87c062c1d4f7788620183f36b7239cdf28c4d2d1.tar.gz
chocolate-doom-87c062c1d4f7788620183f36b7239cdf28c4d2d1.tar.bz2
chocolate-doom-87c062c1d4f7788620183f36b7239cdf28c4d2d1.zip
New mus -> mid conversion code thanks to Ben Ryves <benryves@benryves.com>
This plays back a lot of music closer to Vanilla Doom - eg. tnt.wad map02 Subversion-branch: /trunk/chocolate-doom Subversion-revision: 566
Diffstat (limited to 'src/mus2mid.h')
-rw-r--r--src/mus2mid.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/mus2mid.h b/src/mus2mid.h
new file mode 100644
index 00000000..cc0b7c80
--- /dev/null
+++ b/src/mus2mid.h
@@ -0,0 +1,37 @@
+// Emacs style mode select -*- C++ -*-
+//-----------------------------------------------------------------------------
+//
+// $Id: z_zone.c 434 2006-03-24 19:55:04Z fraggle $
+//
+// Copyright(C) 1993-1996 Id Software, Inc.
+// Copyright(C) 2005 Simon Howard
+// Copyright(C) 2006 Ben Ryves 2006
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; either version 2
+// of the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+// 02111-1307, USA.
+//
+//
+// mus2mid.h - Ben Ryves 2006 - http://benryves.com - benryves@benryves.com
+// Use to convert a MUS file into a single track, type 0 MIDI file.
+
+#ifndef MUS2MID_H
+#define MUS2MID_H
+
+#include "memio.h"
+
+int mus2mid(MEMFILE *musinput, MEMFILE *midioutput);
+
+#endif /* #ifndef MUS2MID_H */
+