summaryrefslogtreecommitdiff
path: root/src/net/win2mac.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-09-19 12:34:18 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-09-19 12:34:18 +0000
commit27d5346e9faf183f5bf9c8a92a47897998c9d60c (patch)
tree514bbdc7cdf07cde8ed50160226c776e360d270e /src/net/win2mac.cpp
parent2c4d4ecc19fc8308b2772e4ffe6570ca362264d1 (diff)
downloadmana-client-27d5346e9faf183f5bf9c8a92a47897998c9d60c.tar.gz
mana-client-27d5346e9faf183f5bf9c8a92a47897998c9d60c.tar.bz2
mana-client-27d5346e9faf183f5bf9c8a92a47897998c9d60c.tar.xz
mana-client-27d5346e9faf183f5bf9c8a92a47897998c9d60c.zip
Mostly code cleanups related to commits in past two days.
* Replaced custom function FIND_PATH with AC_PATH_PROG, used for finding sdl-config. * Removed -lphysfs from Makefile.am which should be added automatically already. * Actually show the overweight message, and only show it once for each time weight goes above half the max weight. * Surfaces passed to SDL_BlitSurface shouldn't be locked according to the manual. * Minimal fps limit is now 10 fps. * Reverted change by Bertram that hardcoded the updatehost value.
Diffstat (limited to 'src/net/win2mac.cpp')
-rw-r--r--src/net/win2mac.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/net/win2mac.cpp b/src/net/win2mac.cpp
index d6da2cf2..020b808b 100644
--- a/src/net/win2mac.cpp
+++ b/src/net/win2mac.cpp
@@ -1,7 +1,5 @@
#include "win2mac.h"
-#define SWAP( a, b ) { char c; c=a; a=b; b=c; }
-
UInt32 DR_SwapFourBytes(UInt32 dw)
{
UInt32 tmp;
@@ -19,13 +17,3 @@ UInt16 DR_SwapTwoBytes(UInt16 w)
tmp = ((w & 0xFF00) >> 0x08) | (tmp << 0x08);
return(tmp);
}
-
-char* SwapChar(char charlist[])
-{
- for (int i = 0; i < 24 / 2; i++)
- {
- SWAP(charlist[i], charlist[24 - i]);
- }
-
- return charlist;
-}