summaryrefslogtreecommitdiff
path: root/source/protocol.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-06-13 17:26:28 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-06-13 17:26:28 +0000
commita4c98a614298d56fae192528323dcc74c5465e75 (patch)
treea29b39c0c35f2aa2ff831db5a0b9258bc15970ec /source/protocol.h
parentb4778982f31e6465cd7a61a16cc57add05c2eb46 (diff)
Fixed endianess issues in *.wav and *.tga loading code.
Renamed MakeLong/MakeShort macros into MakeRawLong/MakeRawShort to prevent further confusion. Introduced LittleLongMem/LittleShortMem and RawLongMem/RawShortMem macros. Use more efficient versions of ShortSwap/LongSwap functions.
Diffstat (limited to 'source/protocol.h')
-rw-r--r--source/protocol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/protocol.h b/source/protocol.h
index 95dc198..deb273f 100644
--- a/source/protocol.h
+++ b/source/protocol.h
@@ -86,10 +86,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define MAX_PACKET_STRINGCMDS 8
#define MAX_PACKET_USERINFOS 8
-#define CS_BITMAP_BYTES (MAX_CONFIGSTRINGS/8) // 260
-#define CS_BITMAP_LONGS (CS_BITMAP_BYTES/4 )
+#define CS_BITMAP_BYTES (MAX_CONFIGSTRINGS/8) // 260
+#define CS_BITMAP_LONGS (CS_BITMAP_BYTES/4 )
-#define MVD_MAGIC MakeLong('M','V','D','2')
+#define MVD_MAGIC MakeRawLong('M','V','D','2')
//
// server to client