summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-04 21:11:55 +0100
committerHaru <haru@dotalux.com>2016-02-04 21:11:55 +0100
commita59d2cf735c961d86050ae51d345a5a81cfeb77c (patch)
tree9c09b376c9ef5d2b7fc0db696651111963e10aba /src/map/clif.h
parentcbe69a98346e10ec39cb3de287614df52dd20172 (diff)
parent2fcf2da1801845cf94f84f5f9d3f1bb27f4501a6 (diff)
downloadhercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.tar.gz
hercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.tar.bz2
hercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.tar.xz
hercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.zip
Merge pull request #1129 from hemagx/map-clif_rewrite
Move P2PTR Macro and Define Packet DB enums
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 3d43b064c..d68a09393 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -58,7 +58,6 @@ struct view_data;
* Defines
**/
#define packet_len(cmd) packet_db[cmd].len
-#define P2PTR(fd) RFIFO2PTR(fd)
#define clif_menuskill_clear(sd) ((sd)->menuskill_id = (sd)->menuskill_val = (sd)->menuskill_val2 = 0)
#define clif_disp_onlyself(sd,mes,len) clif->disp_message( &(sd)->bl, (mes), (len), SELF )
#define MAX_ROULETTE_LEVEL 7 /** client-defined value **/
@@ -73,12 +72,6 @@ struct view_data;
/**
* Enumerations
**/
-enum {// packet DB
- MIN_PACKET_DB = 0x0064,
- MAX_PACKET_DB = 0x0F00,
- MAX_PACKET_POS = 20,
-};
-
typedef enum send_target {
ALL_CLIENT,
ALL_SAMEMAP,