diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-13 16:25:50 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-14 16:18:22 -0800 |
commit | 069f39e8a1ebee3e4a4ce8302d0099842876782b (patch) | |
tree | 57d8de5f57d65878f8ef560e2884b9dee08e9323 /src/map/atcommand.hpp | |
parent | f9563edf69f083287630f4b17db70d97524196d6 (diff) | |
download | tmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.tar.gz tmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.tar.bz2 tmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.tar.xz tmwa-069f39e8a1ebee3e4a4ce8302d0099842876782b.zip |
Some formatting fixes before I go insane
Also delete the French translation from ladmin.
Diffstat (limited to 'src/map/atcommand.hpp')
-rw-r--r-- | src/map/atcommand.hpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/map/atcommand.hpp b/src/map/atcommand.hpp index b052fc6..d22b71a 100644 --- a/src/map/atcommand.hpp +++ b/src/map/atcommand.hpp @@ -190,29 +190,29 @@ typedef struct AtCommandInfo { AtCommandType type; const char *command; - int level; - int (*proc) (const int, struct map_session_data *, + int level; + int(*proc)(const int, struct map_session_data *, const char *command, const char *message); } AtCommandInfo; -AtCommandType is_atcommand (const int fd, struct map_session_data *sd, +AtCommandType is_atcommand(const int fd, struct map_session_data *sd, const char *message, int gmlvl); -AtCommandType atcommand (const int level, const char *message, +AtCommandType atcommand(const int level, const char *message, AtCommandInfo * info); -int get_atcommand_level (const AtCommandType type); +int get_atcommand_level(const AtCommandType type); -int atcommand_item (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Valaris] -int atcommand_warp (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor] -int atcommand_spawn (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Valaris] -int atcommand_goto (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor] -int atcommand_recall (const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor] +int atcommand_item(const int fd, struct map_session_data *sd, const char *command, const char *message); // [Valaris] +int atcommand_warp(const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor] +int atcommand_spawn(const int fd, struct map_session_data *sd, const char *command, const char *message); // [Valaris] +int atcommand_goto(const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor] +int atcommand_recall(const int fd, struct map_session_data *sd, const char *command, const char *message); // [Yor] -int atcommand_config_read (const char *cfgName); +int atcommand_config_read(const char *cfgName); __attribute__((format(printf, 2, 3))) -void log_atcommand (struct map_session_data *sd, const char *fmt, ...); +void log_atcommand(struct map_session_data *sd, const char *fmt, ...); __attribute__((format(printf, 1, 2))) -void gm_log (const char *fmt, ...); +void gm_log(const char *fmt, ...); #endif |