diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-25 15:38:12 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-25 15:38:12 +0000 |
commit | 3eaf284a600c01cf35d97245b8bf1cb5a157abf5 (patch) | |
tree | 21b87983067d01ee5152716524cfa1d20b23e2af /src/map/clif.c | |
parent | 56c38376f23bf7b942247ef42b36ab7401397f0b (diff) | |
download | hercules-3eaf284a600c01cf35d97245b8bf1cb5a157abf5.tar.gz hercules-3eaf284a600c01cf35d97245b8bf1cb5a157abf5.tar.bz2 hercules-3eaf284a600c01cf35d97245b8bf1cb5a157abf5.tar.xz hercules-3eaf284a600c01cf35d97245b8bf1cb5a157abf5.zip |
- Fixed a compiler warning in char_sql\login.c
- Minor source documentation/cleanup.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9917 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 6b85a9667..85f7cdd58 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -1960,10 +1960,9 @@ int clif_scriptinputstr(struct map_session_data *sd, int npcid) { return 0; } -/*========================================== - * - *------------------------------------------ - */ +/// npc_id is ignored in the client +/// type=2 : Remove viewpoint +/// type=other : Show viewpoint int clif_viewpoint(struct map_session_data *sd, int npc_id, int type, int x, int y, int id, int color) { int fd; @@ -2928,10 +2927,13 @@ int clif_arrowequip(struct map_session_data *sd,int val) return 0; } -/*========================================== - * - *------------------------------------------ - */ +/// Ammunition action message. +/// type=0 : MsgStringTable[242]="Please equip the proper ammunition first." +/// type=1 : MsgStringTable[243]="You can't Attack or use Skills because your Weight Limit has been exceeded." +/// type=2 : MsgStringTable[244]="You can't use Skills because Weight Limit has been exceeded." +/// type=3 : assassin, baby_assassin, assassin_cross => MsgStringTable[1040]="You have equipped throwing daggers." +/// gunslinger => MsgStringTable[1175]="Bullets have been equipped." +/// NOT ninja => MsgStringTable[245]="Ammunition has been equipped." int clif_arrow_fail(struct map_session_data *sd,int type) { int fd; @@ -9589,7 +9591,7 @@ void clif_parse_ChangeCart(int fd,struct map_session_data *sd) (type == 2 && sd->status.base_level <= 40) || pc_setcart(sd,type) ) { - LOG_SUSPICIOUS(sd,"clif_parse_ChangeCart: player doesn't have the required level"); + LOG_SUSPICIOUS(sd,"clif_parse_ChangeCart"); } } @@ -11282,8 +11284,11 @@ void clif_friendslist_send(struct map_session_data *sd) { } } - -// Status for adding friend - 0: successfull 1: not exist/rejected 2: over limit +/// Reply for add friend request: (success => type 0) +/// type=0 : MsgStringTable[821]="You have become friends with (%s)." +/// type=1 : MsgStringTable[822]="(%s) does not want to be friends with you." +/// type=2 : MsgStringTable[819]="Your Friend List is full." +/// type=3 : MsgStringTable[820]="(%s)'s Friend List is full." void clif_friendslist_reqack(struct map_session_data *sd, struct map_session_data *f_sd, int type) { int fd; |