}
else
{
-#ifdef SJIS
+#if defined(SJIS) && defined(JP)
sjis2euc(buf2);
#endif
sprintf(buf, "t%c%c%c%c%s", x+1, y+1, len, col, buf2);
switch (id)
{
case 't': /* 通常 */
-#ifdef SJIS
+#if defined(SJIS) && defined(JP)
euc2sjis(mesg);
#endif
update_term_size(x, y, len);
case NIKKI_MAXDEAPTH:
{
fprintf(fff, _(" %2d:%02d %20s %sの最深階%d階に到達した。\n",
- " %2d:%02d %20s reached level %d of %s for the first time.\n"), hour, min, note_level, d_name+d_info[dungeon_type].name, num);
+ " %2d:%02d %20s reached level %d of %s for the first time.\n"), hour, min, note_level,
+ _(d_name+d_info[dungeon_type].namem, num),
+ _(num, d_name+d_info[dungeon_type].name));
break;
}
case NIKKI_TRUMP:
{
fprintf(fff, _(" %2d:%02d %20s %s%sの最深階を%d階にセットした。\n",
- " %2d:%02d %20s reset recall level of %s to %d %s.\n"), hour, min, note_level, note, d_name + d_info[num].name, max_dlv[num]);
+ " %2d:%02d %20s reset recall level of %s to %d %s.\n"), hour, min, note_level, note,
+ _(d_name + d_info[num].name, max_dlv[num]),
+ _(max_dlv[num], d_name + d_info[num].name));
break;
}
case NIKKI_STAIR:
/*!
* @brief 特定の壁(永久壁など)を避けながら部屋間の通路を作成する / This routine maps a path from (x1, y1) to (x2, y2) avoiding SOLID walls.
* @return なし
- * @todo 詳細用調査
+ * @todo 詳細要調査
* @details
* Permanent rock is ignored in this path finding- sometimes there is no\n
* path around anyway -so there will be a crash if we try to find one.\n
/* perturbation perpendicular to path */
changex = (randint0(abs(dy) + 2) * 2 - abs(dy) - 1) / 2;
-
- /* perturbation perpendicular to path */
changey = (randint0(abs(dx) + 2) * 2 - abs(dx) - 1) / 2;
/* Work out "mid" ponit */