summaryrefslogtreecommitdiff
path: root/src/map/map.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.hpp')
-rw-r--r--src/map/map.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/map.hpp b/src/map/map.hpp
index 24037e9..2f6ef21 100644
--- a/src/map/map.hpp
+++ b/src/map/map.hpp
@@ -584,6 +584,12 @@ void map_log(XString line);
#define MAP_LOG(format, ...) \
map_log(STRPRINTF(format, ## __VA_ARGS__))
+#define MAP_LOG_AND_ECHO(...) \
+ do { \
+ PRINTF(__VA_ARGS__); \
+ MAP_LOG(__VA_ARGS__); \
+ } while (0)
+
#define MAP_LOG_PC(sd, fmt, ...) \
MAP_LOG("PC%d %s:%d,%d " fmt, \
sd->status_key.char_id, (sd->bl_m->name_), sd->bl_x, sd->bl_y, ## __VA_ARGS__)
@@ -692,5 +698,14 @@ struct charid2nick
CharName nick;
int req_id;
};
+
+struct AuthFifoEntry
+{
+ AccountId account_id;
+ CharId char_id;
+ int login_id1, login_id2;
+ IP4Address ip;
+ int delflag;
+};
} // namespace map
} // namespace tmwa