From 634aeeb9d58b01f9de6632a014a063ef0c4cf31e Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Fri, 25 Dec 2009 05:00:31 -0500 Subject: Used the "indent" C formatting program from GNU to do some clean ups The command options used was: -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl --- src/map/intif.h | 94 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 50 insertions(+), 44 deletions(-) (limited to 'src/map/intif.h') diff --git a/src/map/intif.h b/src/map/intif.h index 6f8a342..b6abd78 100644 --- a/src/map/intif.h +++ b/src/map/intif.h @@ -2,49 +2,55 @@ #ifndef _INTIF_H_ #define _INFIF_H_ -int intif_parse(int fd); - -int intif_GMmessage(char* mes,int len,int flag); - -int intif_wis_message(struct map_session_data *sd,char *nick,char *mes,int mes_len); -int intif_wis_message_to_gm(char *Wisp_name, int min_gm_level, char *mes, int mes_len); - -int intif_saveaccountreg(struct map_session_data *sd); -int intif_request_accountreg(struct map_session_data *sd); - -int intif_request_storage(int account_id); -int intif_send_storage(struct storage *stor); -int intif_request_guild_storage(int account_id, int guild_id); -int intif_send_guild_storage(int account_id, struct guild_storage *gstor); - - -int intif_create_party(struct map_session_data *sd,char *name); -int intif_request_partyinfo(int party_id); -int intif_party_addmember(int party_id, int account_id); -int intif_party_changeoption(int party_id, int account_id, int exp, int item); -int intif_party_leave(int party_id, int accound_id); -int intif_party_changemap(struct map_session_data *sd, int online); -int intif_break_party(int party_id); -int intif_party_message(int party_id, int account_id, char *mes,int len); -int intif_party_checkconflict(int party_id, int account_id, char *nick); - - -int intif_guild_create(const char *name, const struct guild_member *master); -int intif_guild_request_info(int guild_id); -int intif_guild_addmember(int guild_id, struct guild_member *m); -int intif_guild_leave(int guild_id, int account_id, int char_id, int flag, const char *mes); -int intif_guild_memberinfoshort(int guild_id, int account_id, int char_id, int online, int lv, int class); -int intif_guild_break(int guild_id); -int intif_guild_message(int guild_id, int account_id, char *mes, int len); -int intif_guild_checkconflict(int guild_id, int account_id, int char_id); -int intif_guild_change_basicinfo(int guild_id, int type, const void *data, int len); -int intif_guild_change_memberinfo(int guild_id, int account_id, int char_id, int type, const void *data, int len); -int intif_guild_position(int guild_id, int idx, struct guild_position *p); -int intif_guild_skillup(int guild_id, int skill_num, int account_id); -int intif_guild_alliance(int guild_id1, int guild_id2, int account_id1, int account_id2, int flag); -int intif_guild_notice(int guild_id, const char *mes1, const char *mes2); -int intif_guild_emblem(int guild_id, int len, const char *data); -int intif_guild_castle_dataload(int castle_id, int index); -int intif_guild_castle_datasave(int castle_id, int index, int value); +int intif_parse (int fd); + +int intif_GMmessage (char *mes, int len, int flag); + +int intif_wis_message (struct map_session_data *sd, char *nick, char *mes, + int mes_len); +int intif_wis_message_to_gm (char *Wisp_name, int min_gm_level, char *mes, + int mes_len); + +int intif_saveaccountreg (struct map_session_data *sd); +int intif_request_accountreg (struct map_session_data *sd); + +int intif_request_storage (int account_id); +int intif_send_storage (struct storage *stor); +int intif_request_guild_storage (int account_id, int guild_id); +int intif_send_guild_storage (int account_id, struct guild_storage *gstor); + +int intif_create_party (struct map_session_data *sd, char *name); +int intif_request_partyinfo (int party_id); +int intif_party_addmember (int party_id, int account_id); +int intif_party_changeoption (int party_id, int account_id, int exp, + int item); +int intif_party_leave (int party_id, int accound_id); +int intif_party_changemap (struct map_session_data *sd, int online); +int intif_break_party (int party_id); +int intif_party_message (int party_id, int account_id, char *mes, int len); +int intif_party_checkconflict (int party_id, int account_id, char *nick); + +int intif_guild_create (const char *name, const struct guild_member *master); +int intif_guild_request_info (int guild_id); +int intif_guild_addmember (int guild_id, struct guild_member *m); +int intif_guild_leave (int guild_id, int account_id, int char_id, int flag, + const char *mes); +int intif_guild_memberinfoshort (int guild_id, int account_id, int char_id, + int online, int lv, int class); +int intif_guild_break (int guild_id); +int intif_guild_message (int guild_id, int account_id, char *mes, int len); +int intif_guild_checkconflict (int guild_id, int account_id, int char_id); +int intif_guild_change_basicinfo (int guild_id, int type, const void *data, + int len); +int intif_guild_change_memberinfo (int guild_id, int account_id, int char_id, + int type, const void *data, int len); +int intif_guild_position (int guild_id, int idx, struct guild_position *p); +int intif_guild_skillup (int guild_id, int skill_num, int account_id); +int intif_guild_alliance (int guild_id1, int guild_id2, int account_id1, + int account_id2, int flag); +int intif_guild_notice (int guild_id, const char *mes1, const char *mes2); +int intif_guild_emblem (int guild_id, int len, const char *data); +int intif_guild_castle_dataload (int castle_id, int index); +int intif_guild_castle_datasave (int castle_id, int index, int value); #endif -- cgit v1.2.3-60-g2f50