From 069f39e8a1ebee3e4a4ce8302d0099842876782b Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 13 Dec 2012 16:25:50 -0800 Subject: Some formatting fixes before I go insane Also delete the French translation from ladmin. --- src/map/atcommand.hpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/map/atcommand.hpp') 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 -- cgit v1.2.3-60-g2f50