summaryrefslogtreecommitdiff
path: root/src/map/guild.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-12-25 05:00:31 -0500
committerJared Adams <jaxad0127@gmail.com>2009-12-26 00:40:11 -0700
commit634aeeb9d58b01f9de6632a014a063ef0c4cf31e (patch)
tree70023dd2bcc12a3f96ec6f118d80e27411920531 /src/map/guild.h
parent113fcc4f0a7a0921e94bc415515dd4b393a29d60 (diff)
downloadtmwa-634aeeb9d58b01f9de6632a014a063ef0c4cf31e.tar.gz
tmwa-634aeeb9d58b01f9de6632a014a063ef0c4cf31e.tar.bz2
tmwa-634aeeb9d58b01f9de6632a014a063ef0c4cf31e.tar.xz
tmwa-634aeeb9d58b01f9de6632a014a063ef0c4cf31e.zip
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
Diffstat (limited to 'src/map/guild.h')
-rw-r--r--src/map/guild.h138
1 files changed, 73 insertions, 65 deletions
diff --git a/src/map/guild.h b/src/map/guild.h
index 53e91f0..6ac13f9 100644
--- a/src/map/guild.h
+++ b/src/map/guild.h
@@ -9,79 +9,87 @@ struct guild_member;
struct guild_position;
struct guild_castle;
-int guild_skill_get_inf(int id);
-int guild_skill_get_sp(int id,int lv);
-int guild_skill_get_range(int id);
-int guild_skill_get_max(int id);
+int guild_skill_get_inf (int id);
+int guild_skill_get_sp (int id, int lv);
+int guild_skill_get_range (int id);
+int guild_skill_get_max (int id);
-int guild_checkskill(struct guild *g,int id);
-int guild_checkcastles(struct guild *g); // [MouseJstr]
-int guild_isallied(struct guild *g, struct guild_castle *gc);
+int guild_checkskill (struct guild *g, int id);
+int guild_checkcastles (struct guild *g); // [MouseJstr]
+int guild_isallied (struct guild *g, struct guild_castle *gc);
-void do_init_guild(void);
-struct guild *guild_search(int guild_id);
-struct guild *guild_searchname(char *str);
-struct guild_castle *guild_castle_search(int gcid);
+void do_init_guild (void);
+struct guild *guild_search (int guild_id);
+struct guild *guild_searchname (char *str);
+struct guild_castle *guild_castle_search (int gcid);
-struct guild_castle *guild_mapname2gc(char *mapname);
+struct guild_castle *guild_mapname2gc (char *mapname);
-struct map_session_data *guild_getavailablesd(struct guild *g);
-int guild_getindex(struct guild *g,int account_id,int char_id);
-int guild_getposition(struct map_session_data *sd,struct guild *g);
-int guild_payexp(struct map_session_data *sd,int exp);
+struct map_session_data *guild_getavailablesd (struct guild *g);
+int guild_getindex (struct guild *g, int account_id, int char_id);
+int guild_getposition (struct map_session_data *sd, struct guild *g);
+int guild_payexp (struct map_session_data *sd, int exp);
-int guild_create(struct map_session_data *sd,char *name);
-int guild_created(int account_id,int guild_id);
-int guild_request_info(int guild_id);
-int guild_recv_noinfo(int guild_id);
-int guild_recv_info(struct guild *sg);
-int guild_npc_request_info(int guild_id,const char *ev);
-int guild_invite(struct map_session_data *sd,int account_id);
-int guild_reply_invite(struct map_session_data *sd,int guild_id,int flag);
-int guild_member_added(int guild_id,int account_id,int char_id,int flag);
-int guild_leave(struct map_session_data *sd,int guild_id,
- int account_id,int char_id,const char *mes);
-int guild_member_leaved(int guild_id,int account_id,int char_id,int flag,
- const char *name,const char *mes);
-int guild_explusion(struct map_session_data *sd,int guild_id,
- int account_id,int char_id,const char *mes);
-int guild_skillup(struct map_session_data *sd,int skill_num);
-int guild_reqalliance(struct map_session_data *sd,int account_id);
-int guild_reply_reqalliance(struct map_session_data *sd,int account_id,int flag);
-int guild_alliance(int guild_id1,int guild_id2,int account_id1,int account_id2);
-int guild_allianceack(int guild_id1,int guild_id2,int account_id1,int account_id2,
- int flag,const char *name1,const char *name2);
-int guild_delalliance(struct map_session_data *sd,int guild_id,int flag);
-int guild_opposition(struct map_session_data *sd,int char_id);
+int guild_create (struct map_session_data *sd, char *name);
+int guild_created (int account_id, int guild_id);
+int guild_request_info (int guild_id);
+int guild_recv_noinfo (int guild_id);
+int guild_recv_info (struct guild *sg);
+int guild_npc_request_info (int guild_id, const char *ev);
+int guild_invite (struct map_session_data *sd, int account_id);
+int guild_reply_invite (struct map_session_data *sd, int guild_id, int flag);
+int guild_member_added (int guild_id, int account_id, int char_id, int flag);
+int guild_leave (struct map_session_data *sd, int guild_id,
+ int account_id, int char_id, const char *mes);
+int guild_member_leaved (int guild_id, int account_id, int char_id, int flag,
+ const char *name, const char *mes);
+int guild_explusion (struct map_session_data *sd, int guild_id,
+ int account_id, int char_id, const char *mes);
+int guild_skillup (struct map_session_data *sd, int skill_num);
+int guild_reqalliance (struct map_session_data *sd, int account_id);
+int guild_reply_reqalliance (struct map_session_data *sd, int account_id,
+ int flag);
+int guild_alliance (int guild_id1, int guild_id2, int account_id1,
+ int account_id2);
+int guild_allianceack (int guild_id1, int guild_id2, int account_id1,
+ int account_id2, int flag, const char *name1,
+ const char *name2);
+int guild_delalliance (struct map_session_data *sd, int guild_id, int flag);
+int guild_opposition (struct map_session_data *sd, int char_id);
-int guild_send_memberinfoshort(struct map_session_data *sd,int online);
-int guild_recv_memberinfoshort(int guild_id,int account_id,int char_id,int online,int lv,int class);
-int guild_change_memberposition(int guild_id,int account_id,int char_id,int idx);
-int guild_memberposition_changed(struct guild *g,int idx,int pos);
-int guild_change_position(struct map_session_data *sd,int idx,
- int mode,int exp_mode,const char *name);
-int guild_position_changed(int guild_id,int idx,struct guild_position *p);
-int guild_change_notice(struct map_session_data *sd,int guild_id,const char *mes1,const char *mes2);
-int guild_notice_changed(int guild_id,const char *mes1,const char *mes2);
-int guild_change_emblem(struct map_session_data *sd,int len,const char *data);
-int guild_emblem_changed(int len,int guild_id,int emblem_id,const char *data);
-int guild_send_message(struct map_session_data *sd,char *mes,int len);
-int guild_recv_message(int guild_id,int account_id,char *mes,int len);
-int guild_skillupack(int guild_id,int skill_num,int account_id);
-int guild_break(struct map_session_data *sd,char *name);
-int guild_broken(int guild_id,int flag);
+int guild_send_memberinfoshort (struct map_session_data *sd, int online);
+int guild_recv_memberinfoshort (int guild_id, int account_id, int char_id,
+ int online, int lv, int class);
+int guild_change_memberposition (int guild_id, int account_id, int char_id,
+ int idx);
+int guild_memberposition_changed (struct guild *g, int idx, int pos);
+int guild_change_position (struct map_session_data *sd, int idx,
+ int mode, int exp_mode, const char *name);
+int guild_position_changed (int guild_id, int idx, struct guild_position *p);
+int guild_change_notice (struct map_session_data *sd, int guild_id,
+ const char *mes1, const char *mes2);
+int guild_notice_changed (int guild_id, const char *mes1, const char *mes2);
+int guild_change_emblem (struct map_session_data *sd, int len,
+ const char *data);
+int guild_emblem_changed (int len, int guild_id, int emblem_id,
+ const char *data);
+int guild_send_message (struct map_session_data *sd, char *mes, int len);
+int guild_recv_message (int guild_id, int account_id, char *mes, int len);
+int guild_skillupack (int guild_id, int skill_num, int account_id);
+int guild_break (struct map_session_data *sd, char *name);
+int guild_broken (int guild_id, int flag);
-int guild_addcastleinfoevent(int castle_id,int index,const char *name);
-int guild_castledataload(int castle_id,int index);
-int guild_castledataloadack(int castle_id,int index,int value);
-int guild_castledatasave(int castle_id,int index,int value);
-int guild_castledatasaveack(int castle_id,int index,int value);
-int guild_castlealldataload(int len,struct guild_castle *gc);
+int guild_addcastleinfoevent (int castle_id, int index, const char *name);
+int guild_castledataload (int castle_id, int index);
+int guild_castledataloadack (int castle_id, int index, int value);
+int guild_castledatasave (int castle_id, int index, int value);
+int guild_castledatasaveack (int castle_id, int index, int value);
+int guild_castlealldataload (int len, struct guild_castle *gc);
-int guild_agit_start(void);
-int guild_agit_end(void);
-int guild_agit_break(struct mob_data *md);
+int guild_agit_start (void);
+int guild_agit_end (void);
+int guild_agit_break (struct mob_data *md);
-void do_final_guild(void);
+void do_final_guild (void);
#endif