summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 5e77d89..30c03f4 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -630,6 +630,11 @@ enum {
LOOK_MISC2
};
+enum {
+ EQUIP_SHIELD = 8,
+ EQUIP_WEAPON = 9
+};
+
#define LOOK_LAST LOOK_MISC2
struct chat_data {
@@ -692,6 +697,9 @@ extern FILE *map_logfile;
void map_write_log(char *format, ...);
#define MAP_LOG(format, args...) {if (map_logfile) map_write_log(format, ##args);}
+#define MAP_LOG_PC(sd, fmt, args...) MAP_LOG("PC%d %d:%d,%d " fmt, sd->status.char_id, sd->bl.m, sd->bl.x, sd->bl.y, ## args)
+
+
// 床アイテム関連
int map_clearflooritem_timer(int,unsigned int,int,int);
#define map_clearflooritem(id) map_clearflooritem_timer(0,0,id,1)