diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-25 00:32:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-03-11 03:04:57 +0300 |
commit | 63062f9ddbc2c2a2384bfbbd496fc0572318a9e0 (patch) | |
tree | b8029276584549807d9f4e448b470289d222f180 /src/map/atcommand.h | |
parent | 4af6f3c375f860bfb19f3ebef7ad2ec9ee18deaa (diff) | |
download | hercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.tar.gz hercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.tar.bz2 hercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.tar.xz hercules-63062f9ddbc2c2a2384bfbbd496fc0572318a9e0.zip |
Move local variables in atcommand.c into interface
Also move defines from map.h inot mapdefines.h for fix cycle include issue.
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r-- | src/map/atcommand.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h index 3bbbefa20..1783e5dc6 100644 --- a/src/map/atcommand.h +++ b/src/map/atcommand.h @@ -21,9 +21,11 @@ #ifndef MAP_ATCOMMAND_H #define MAP_ATCOMMAND_H +#include "map/mapdefines.h" #include "map/pc_groups.h" #include "common/hercules.h" #include "common/db.h" +#include "common/mmo.h" #include <stdarg.h> @@ -90,6 +92,8 @@ struct atcmd_binding_data { * Interface **/ struct atcommand_interface { + char (*atcmd_output)[CHAT_SIZE_MAX]; + char (*atcmd_player_name)[NAME_LENGTH]; unsigned char at_symbol; unsigned char char_symbol; /* atcommand binding */ |