summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-11 03:32:32 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-11 03:32:32 +0000
commit2d2b351c74561d820e01cea29d972bc3a8312c1e (patch)
tree6c800744aed42025d91864ff39eb00483a6e9900 /src/map/clif.h
parentb1bdfe1d1d7da8f16991117b9743bce506aea7b5 (diff)
downloadhercules-2d2b351c74561d820e01cea29d972bc3a8312c1e.tar.gz
hercules-2d2b351c74561d820e01cea29d972bc3a8312c1e.tar.bz2
hercules-2d2b351c74561d820e01cea29d972bc3a8312c1e.tar.xz
hercules-2d2b351c74561d820e01cea29d972bc3a8312c1e.zip
* Added a fix to @sound where if you forgot the .wav exention, i'd attempt to play the file without it (it adds the .wav) [Codemaster] [SVN 949]
* Added @disguiseall / @undisguiseall [Codemaster] [SVN 949] * Added misc. clif.c fixes (jAthena added alot of close(fd)'s, so i added them, too) [Codemaster] [SVN 949] * Added bug reports - Celest, you might want to check one of those out [Codemaster] [SVN 949] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@949 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index f0449765b..d1b24f223 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -13,7 +13,14 @@ typedef unsigned int in_addr_t;
#include "map.h"
+#define MAX_PACKET_DB 0x224
+
extern int packet_db_ver;
+struct packet_db {
+ short len;
+ void (*func)();
+ short pos[20];
+};
void clif_setip(char*);
void clif_setport(int);