summaryrefslogtreecommitdiff
path: root/src/m_swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_swap.h')
-rw-r--r--src/m_swap.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/m_swap.h b/src/m_swap.h
index af296d62..881574ea 100644
--- a/src/m_swap.h
+++ b/src/m_swap.h
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: m_swap.h 18 2005-07-23 18:56:07Z fraggle $
+// $Id: m_swap.h 75 2005-09-05 22:50:56Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -43,6 +43,10 @@ long SwapLONG(long);
#else
#define SHORT(x) (x)
#define LONG(x) (x)
+#define doom_wtohs(x) ((short int) (x))
+#define doom_htows(x) ((short int) (x))
+#define doom_wtohl(x) ((long int) (x))
+#define doom_htowl(x) ((long int) (x))
#endif
@@ -52,6 +56,10 @@ long SwapLONG(long);
//-----------------------------------------------------------------------------
//
// $Log$
+// Revision 1.4 2005/09/05 22:50:56 fraggle
+// Add mmus2mid code from prboom. Use 'void *' for music handles. Pass
+// length of data when registering music.
+//
// Revision 1.3 2005/07/23 18:56:07 fraggle
// Remove unneccessary pragmas
//