summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 02:16:51 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-13 02:16:51 +0000
commit996a25cabc3c5be0ac8a5c4a46123e076b07af39 (patch)
tree573c407394a6338db6e2083a702386abf8a6a4c1 /src/map/clif.h
parentbaff4da7ab8cf41ac0313c7a0e4d2c6685217eb1 (diff)
downloadhercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.tar.gz
hercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.tar.bz2
hercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.tar.xz
hercules-996a25cabc3c5be0ac8a5c4a46123e076b07af39.zip
Fixed Attacking Mobs by using a file from FREYA (thanks MagicalTux and Yor)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@141 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index cf2228e6b..95c982d72 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -1,13 +1,11 @@
-// $Id: clif.h,v 1.4 2004/09/25 05:32:18 MouseJstr Exp $
+// $Id: clif.h 1952 2004-10-23 14:05:01Z Yor $
#ifndef _CLIF_H_
#define _CLIF_H_
-#include <sys/types.h>
-
-#ifdef _WIN32
-#include <winsock.h>
+#ifdef __WIN32
typedef unsigned int in_addr_t;
#else
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -15,14 +13,6 @@ typedef unsigned int in_addr_t;
#include "map.h"
-#define MAX_PACKET_DB 0x220
-
-struct packet_db {
- short len;
- void (*func)();
- short pos[20];
-};
-
void clif_setip(char*);
void clif_setport(int);
@@ -98,9 +88,9 @@ int clif_changechatstatus(struct chat_data*); // chat
void clif_emotion(struct block_list *bl,int type);
void clif_talkiebox(struct block_list *bl,char* talkie);
void clif_wedding_effect(struct block_list *bl);
-void clif_sitting(struct map_session_data *sd);
+//void clif_sitting(int fd, struct map_session_data *sd);
//void clif_callpartner(struct map_session_data *sd);
-//void clif_sitting(struct map_session_data *sd);
+void clif_sitting(struct map_session_data *sd);
void clif_soundeffect(struct map_session_data *sd,struct block_list *bl,char *name,int type);
// trade