summaryrefslogtreecommitdiff
path: root/src/emap/atcommand.h
diff options
context:
space:
mode:
authoracsvln <acsvln@disroot.org>2018-07-01 13:59:55 +0300
committerUnknown <acsvln@disroot.org>2018-07-21 23:25:03 +0300
commitf5f220fdf3ca07d631462d97c837e86848e46563 (patch)
tree05870173028d673379226fd2f770636d56f2c999 /src/emap/atcommand.h
parentce2b8e7cf4442db30be2c2edfcfd28692d1f2929 (diff)
downloadevol-hercules-f5f220fdf3ca07d631462d97c837e86848e46563.tar.gz
evol-hercules-f5f220fdf3ca07d631462d97c837e86848e46563.tar.bz2
evol-hercules-f5f220fdf3ca07d631462d97c837e86848e46563.tar.xz
evol-hercules-f5f220fdf3ca07d631462d97c837e86848e46563.zip
Implemented commands "hugo" and "linus"
Diffstat (limited to 'src/emap/atcommand.h')
-rw-r--r--src/emap/atcommand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emap/atcommand.h b/src/emap/atcommand.h
index 95e7e75..24e4a4c 100644
--- a/src/emap/atcommand.h
+++ b/src/emap/atcommand.h
@@ -18,10 +18,18 @@ const char* eatcommand_msgfd_pre(int *fdPtr,
const char* command __attribute__ ((unused)), \
const char* message, \
struct AtCommandInfo *info)
+#define ACMD3(x) bool atcommand_ ## x (const int fd __attribute__ ((unused)), \
+ struct map_session_data* sd, \
+ const char* command __attribute__ ((unused)), \
+ const char* message __attribute__ ((unused)), \
+ struct AtCommandInfo *info __attribute__ ((unused)))
ACMD2(setSkill);
ACMD2(slide);
+ACMD3(hugo);
+ACMD3(linus);
ACMD1(mapExit);
ACMD1(serverExit);
+
#endif // EVOL_MAP_ATCOMMAND