summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-01 00:14:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-01 00:14:51 +0000
commit05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c (patch)
tree921b18da0dc52e7562f0c6a02e5343f9b582cf64 /src/net
parent78c72d1463735ad6e3a176f89d3c41a5ed71fc40 (diff)
downloadMana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.gz
Mana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.bz2
Mana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.xz
Mana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.zip
* The client will now only attempt to load .tmx or .tmx.gz files.
* When unable to connect to char server, report IP to which it can't connect. * Cleaned up logger a bit.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/win2mac.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/win2mac.h b/src/net/win2mac.h
index 851a328a..8159f4a3 100644
--- a/src/net/win2mac.h
+++ b/src/net/win2mac.h
@@ -1,3 +1,6 @@
+#ifndef _TMW_MAC_H
+#define _TMW_MAC_H
+
#include <stdio.h>
#define UInt16 unsigned short int
@@ -6,10 +9,8 @@
#define INT32 long int
#define SWAP( a, b ) { char c; c=a; a=b; b=c; }
-#ifndef _MAC_H
-#define _MAC_H
UInt32 DR_SwapFourBytes(UInt32 dw);
UInt16 DR_SwapTwoBytes(UInt16 w);
char* SwapChar(char charlist[]);
-#endif
+#endif