summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-03-02 17:04:45 -0800
committerBen Longbons <b.r.longbons@gmail.com>2011-03-02 17:04:45 -0800
commitead4630c475d929deb3132e7afc1ae1a2932eb7f (patch)
tree21bd5cb289d8985a46723fc4f566494ead476179 /src/map/atcommand.c
parenta1a2711abfc594f2be1da51df95ddcd7071ddebd (diff)
downloadtmwa-ead4630c475d929deb3132e7afc1ae1a2932eb7f.tar.gz
tmwa-ead4630c475d929deb3132e7afc1ae1a2932eb7f.tar.bz2
tmwa-ead4630c475d929deb3132e7afc1ae1a2932eb7f.tar.xz
tmwa-ead4630c475d929deb3132e7afc1ae1a2932eb7f.zip
convert from SHIFT-JIS files with errors
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 3c06a77..681cccf 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -212,7 +212,7 @@ ATCOMMAND_FUNC (wgm);
ATCOMMAND_FUNC (ipcheck);
/*==========================================
- *AtCommandInfo atcommand_info[]\‘¢‘Ì‚Ì’è‹`
+ *AtCommandInfo atcommand_info[]構造体ã®å®šç¾©
*------------------------------------------
*/
@@ -619,7 +619,7 @@ int e_mail_check (unsigned char *email)
}
/*==========================================
- * get_atcommand_level @ƒRƒ}ƒ“ƒh‚Ì•K—vƒŒƒxƒ‹‚ðŽæ“¾
+ * get_atcommand_level @コマンドã®å¿…è¦ãƒ¬ãƒ™ãƒ«ã‚’å–å¾—
*------------------------------------------
*/
int get_atcommand_level (const AtCommandType type)
@@ -705,7 +705,7 @@ void gm_log (const char *fmt, ...)
}
/*==========================================
- *is_atcommand @ƒRƒ}ƒ“ƒh‚É‘¶Ý‚·‚é‚©‚Ç‚¤‚©Šm”F‚·‚é
+ *is_atcommand @コマンドã«å­˜åœ¨ã™ã‚‹ã‹ã©ã†ã‹ç¢ºèªã™ã‚‹
*------------------------------------------
*/
AtCommandType
@@ -1757,7 +1757,7 @@ int atcommand_speed (const int fd, struct map_session_data *sd,
{
sd->speed = speed;
//sd->walktimer = x;
- //‚±‚Ì•¶‚ð’ljÁ by ‚ê‚
+ //ã“ã®æ–‡ã‚’追加 by ã‚Œ
clif_updatestatus (sd, SP_SPEED);
clif_displaymessage (fd, msg_table[8]); // Speed changed.
}
@@ -2400,7 +2400,7 @@ int atcommand_pvpoff (const int fd, struct map_session_data *sd,
map[sd->bl.m].flag.pvp = 0;
clif_send0199 (sd->bl.m, 0);
for (i = 0; i < fd_max; i++)
- { //l”•ªƒ‹[ƒv
+ { //人数分ループ
if (session[i] && (pl_sd = session[i]->session_data)
&& pl_sd->state.auth)
{
@@ -2546,11 +2546,11 @@ int atcommand_model (const int fd, struct map_session_data *sd,
hair_color >= MIN_HAIR_COLOR && hair_color <= MAX_HAIR_COLOR &&
cloth_color >= MIN_CLOTH_COLOR && cloth_color <= MAX_CLOTH_COLOR)
{
- //•ž‚ÌF•ÏX
+ //æœã®è‰²å¤‰æ›´
if (cloth_color != 0 && sd->status.sex == 1
&& (sd->status.class == 12 || sd->status.class == 17))
{
- //•ž‚ÌF–¢ŽÀ‘•E‚Ì”»’è
+ //æœã®è‰²æœªå®Ÿè£…è·ã®åˆ¤å®š
clif_displaymessage (fd, msg_table[35]); // You can't use this command with this class.
return -1;
}
@@ -3208,8 +3208,8 @@ int atcommand_produce (const int fd, struct map_session_data *sd,
tmp_item.card[0] = 0x00ff;
tmp_item.card[1] = ((star * 5) << 8) + attribute;
*((unsigned long *) (&tmp_item.card[2])) = sd->char_id;
- clif_produceeffect (sd, 0, item_id); // »‘¢ƒGƒtƒFƒNƒgƒpƒPƒbƒg
- clif_misceffect (&sd->bl, 3); // ‘¼l‚ɂଌ÷‚ð’Ê’m
+ clif_produceeffect (sd, 0, item_id); // 製造エフェクトパケット
+ clif_misceffect (&sd->bl, 3); // 他人ã«ã‚‚æˆåŠŸã‚’通知
if ((flag = pc_additem (sd, &tmp_item, 1)))
clif_additem (sd, 0, 0, flag);
}
@@ -4483,7 +4483,7 @@ int atcommand_raisemap (const int fd, struct map_session_data *sd,
}
/*==========================================
- * atcommand_character_baselevel @charbaselvl‚Å‘ÎÛƒLƒƒƒ‰‚̃Œƒxƒ‹‚ðã‚°‚é
+ * atcommand_character_baselevel @charbaselvlã§å¯¾è±¡ã‚­ãƒ£ãƒ©ã®ãƒ¬ãƒ™ãƒ«ã‚’上ã’ã‚‹
*------------------------------------------
*/
int atcommand_character_baselevel (const int fd, struct map_session_data *sd,
@@ -4573,11 +4573,11 @@ int atcommand_character_baselevel (const int fd, struct map_session_data *sd,
return -1;
}
- return 0; //³íI—¹
+ return 0; //正常終了
}
/*==========================================
- * atcommand_character_joblevel @charjoblvl‚Å‘ÎÛƒLƒƒƒ‰‚ÌJobƒŒƒxƒ‹‚ðã‚°‚é
+ * atcommand_character_joblevel @charjoblvlã§å¯¾è±¡ã‚­ãƒ£ãƒ©ã®Jobレベルを上ã’ã‚‹
*------------------------------------------
*/
int atcommand_character_joblevel (const int fd, struct map_session_data *sd,
@@ -4586,7 +4586,7 @@ int atcommand_character_joblevel (const int fd, struct map_session_data *sd,
struct map_session_data *pl_sd;
char character[100];
int max_level = 50, level = 0;
- //“]¶‚â—{Žq‚Ìꇂ̌³‚ÌE‹Æ‚ðŽZo‚·‚é
+ //転生や養å­ã®å ´åˆã®å…ƒã®è·æ¥­ã‚’算出ã™ã‚‹
struct pc_base_job pl_s_class;
memset (character, '\0', sizeof (character));
@@ -4607,7 +4607,7 @@ int atcommand_character_joblevel (const int fd, struct map_session_data *sd,
{ // you can change job level only lower or same gm level
if (pl_s_class.job == 0)
max_level -= 40;
- if ((pl_s_class.job == 23) || (pl_s_class.upper == 1 && pl_s_class.type == 2)) //ƒXƒpƒmƒr‚Æ“]¶E‚ÍJobƒŒƒxƒ‹‚ÌÅ‚‚ª70
+ if ((pl_s_class.job == 23) || (pl_s_class.upper == 1 && pl_s_class.type == 2)) //スパノビã¨è»¢ç”Ÿè·ã¯Jobレベルã®æœ€é«˜ãŒ70
max_level += 20;
if (level > 0)
@@ -5051,7 +5051,7 @@ int atcommand_agitend (const int fd, struct map_session_data *sd,
}
/*==========================================
- * @mapexit‚Ń}ƒbƒvƒT[ƒo[‚ðI—¹‚³‚¹‚é
+ * @mapexitã§ãƒžãƒƒãƒ—サーãƒãƒ¼ã‚’終了ã•ã›ã‚‹
*------------------------------------------
*/
int atcommand_mapexit (const int fd, struct map_session_data *sd,