summaryrefslogtreecommitdiff
path: root/src/map/atcommand.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-28 01:30:15 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-28 01:30:15 +0000
commitf50f76af9cf4c6de540f18a46735f9f19c9da230 (patch)
tree4d9708b38d9944b753573d94c3eb3cb4fb262151 /src/map/atcommand.h
parentb587488712a319a66f575d2764edf7bc2e25bcc1 (diff)
downloadhercules-f50f76af9cf4c6de540f18a46735f9f19c9da230.tar.gz
hercules-f50f76af9cf4c6de540f18a46735f9f19c9da230.tar.bz2
hercules-f50f76af9cf4c6de540f18a46735f9f19c9da230.tar.xz
hercules-f50f76af9cf4c6de540f18a46735f9f19c9da230.zip
Some misc cleanups (typos, formatting, forgotten changelog entry etc)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9733 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.h')
-rw-r--r--src/map/atcommand.h26
1 files changed, 10 insertions, 16 deletions
diff --git a/src/map/atcommand.h b/src/map/atcommand.h
index a18bb4aaf..84b4fa0ed 100644
--- a/src/map/atcommand.h
+++ b/src/map/atcommand.h
@@ -272,7 +272,7 @@ enum AtCommandType {
AtCommand_ToNPC, // LuzZza
AtCommand_Commands, // [Skotlex]
AtCommand_NoAsk, // [LuzZza]
- AtCommand_Request, // [Skotlex], supposedly taken from Freya (heard the command was there, but I haven't seen the code yet)
+ AtCommand_Request, // [Skotlex]
AtCommand_HomLevel, //[orn]
AtCommand_HomEvolution, //[orn]
AtCommand_MakeHomun, //[orn]
@@ -294,22 +294,16 @@ typedef struct AtCommandInfo {
AtCommandType type;
const char* command;
int level;
- int (*proc)(const int, struct map_session_data*,
- const char* command, const char* message);
+ int (*proc)(const int fd, struct map_session_data* sd, const char* command, const char* message);
} AtCommandInfo;
-AtCommandType
-is_atcommand(const int fd, struct map_session_data* sd, const char* message);
-AtCommandType
-is_atcommand_sub(const int fd, struct map_session_data* sd, const char* str, int gmlvl);
-
-AtCommandType atcommand(
- struct map_session_data *sd,
- const int level, const char* message, AtCommandInfo* info);
+AtCommandType is_atcommand(const int fd, struct map_session_data* sd, const char* message);
+AtCommandType is_atcommand_sub(const int fd, struct map_session_data* sd, const char* str, int gmlvl);
+AtCommandType atcommand(struct map_session_data *sd, const int level, const char* message, AtCommandInfo* info);
int get_atcommand_level(const AtCommandType type);
-char * msg_txt(int msg_number); // [Yor]
-char * player_title_txt(int level); // [Lupus]
+char* msg_txt(int msg_number); // [Yor]
+char* player_title_txt(int level); // [Lupus]
void do_init_atcommand(void);
void do_final_atcommand(void);
@@ -324,12 +318,12 @@ int atcommand_config_read(const char *cfgName);
int msg_config_read(const char *cfgName);
void do_final_msg(void);
-char *estr_lower(char *str);
+char* estr_lower(char* str);
-int e_mail_check(char *email);
+int e_mail_check(char* email);
extern char atcommand_symbol;
#define MAX_MSG 1000
-extern char *msg_table[MAX_MSG];
+extern char* msg_table[MAX_MSG];
#endif