summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--src/net/protocol.cpp11
-rw-r--r--src/net/protocol.h6
3 files changed, 7 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 02ae1d24..7f4c3b21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
-2006-02-02 Philipp Sehmisch <tmw@crushnet.org>
+2006-02-03 Björn Steinbrink <B.Steinbrink@gmx.de>
- * data/graphics/tiles/desert1.png, data/graphics/tiles/desert2.png,
+ * src/net/protocol.cpp, src/net/protocol.h: Removed some unused code.
+
+2006-02-02 Philipp Sehmisch <tmw@crushnet.org>
+
+ * data/graphics/tiles/desert1.png, data/graphics/tiles/desert2.png,
data/graphics/tiles/desert_x2.png, data/graphics/tiles/desert_x3.png:
Replaced the old sand tile with Irucards new one. Added new crates.
Made some minor corrections.
@@ -1710,4 +1714,4 @@
restore some doxygen comments, improved size adaption and made the
window a shorter.
* data/graphics/images/login_wallpaper.png: New login wallpaper by
- Momotaro. \ No newline at end of file
+ Momotaro.
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp
index 5de1b0cf..f31d4a39 100644
--- a/src/net/protocol.cpp
+++ b/src/net/protocol.cpp
@@ -26,17 +26,6 @@
#define LOBYTE(w) ((unsigned char)(w))
#define HIBYTE(w) ((unsigned char)(((unsigned short)(w)) >> 8))
-unsigned char get_src_direction(char data)
-{
- data >>= 4;
- return data;
-}
-
-unsigned char get_dest_direction(char data)
-{
- return data & 0x000f;
-}
-
void set_coordinates(char *data,
unsigned short x,
unsigned short y,
diff --git a/src/net/protocol.h b/src/net/protocol.h
index 716aa0f9..72b459ed 100644
--- a/src/net/protocol.h
+++ b/src/net/protocol.h
@@ -104,12 +104,6 @@
#define CMSG_PLAYER_EQUIP 0x00a9
#define CMSG_PLAYER_UNEQUIP 0x00ab
-/** Decodes src direction */
-unsigned char get_src_direction(char data);
-
-/** Decodes dest direction */
-unsigned char get_dest_direction(char data);
-
/** Encodes coords and direction in 3 bytes data */
void set_coordinates(char *data, unsigned short x, unsigned short y, unsigned char direction);