Kentaro Shirakata
argra****@users*****
2005年 1月 24日 (月) 07:23:47 JST
Index: jnethack/src/pager.c diff -u jnethack/src/pager.c:1.20 jnethack/src/pager.c:1.21 --- jnethack/src/pager.c:1.20 Tue Jul 20 03:52:37 2004 +++ jnethack/src/pager.c Mon Jan 24 07:23:46 2005 @@ -75,7 +75,7 @@ int x, y; char *buf, *monbuf; #else -/*JP*/ /* `buf2' is English name for search data file easily. */ +/*JP*/ /* `buf2' is simple name for search data file easily. */ lookat(x, y, buf, monbuf, buf2) int x, y; char *buf, *monbuf, *buf2; @@ -362,6 +362,9 @@ } } else Strcpy(buf, distant_name(otmp, xname)); +#if 1 /*JP*/ + Strcpy(buf2, buf); +#endif if (levl[x][y].typ == STONE || levl[x][y].typ == SCORR) /*JP @@ -397,6 +400,7 @@ #else Strcpy(buf, jtrns_obj('^', defsyms[ trap_to_defsym(Hallucination ? rn2(TRAPNUM-3)+3 : tnum)].explanation)); + Strcpy(buf2, buf); #endif } else if(!glyph_is_cmap(glyph)) { /*JP @@ -417,35 +421,56 @@ else Sprintf(buf, "aligned altar"); */ else Sprintf(buf, "属性の祭壇"); +#if 1 /*JP*/ + Strcpy(buf2, "祭壇"); +#endif break; case S_ndoor: if (is_drawbridge_wall(x, y) >= 0) -/*JP +#if 0 /*JP:T*/ Strcpy(buf,"open drawbridge portcullis"); -*/ - Strcpy(buf,"降りている跳ね橋"); +#else + { + Strcpy(buf,"降りている跳ね橋"); + Strcpy(buf2, "跳ね橋"); + } +#endif else if ((levl[x][y].doormask & ~D_TRAPPED) == D_BROKEN) -/*JP +#if 0 /*JP:T*/ Strcpy(buf,"broken door"); -*/ - Strcpy(buf,"壊れた扉"); +#else + { + Strcpy(buf,"壊れた扉"); + Strcpy(buf2, buf); + } +#endif else -/*JP +#if 0 /*JP:T*/ Strcpy(buf,"doorway"); -*/ - Strcpy(buf,"通路"); +#else + { + Strcpy(buf,"通路"); + Strcpy(buf2, buf); + } +#endif break; case S_cloud: /*JP Strcpy(buf, Is_airlevel(&u.uz) ? "cloudy area" : "fog/vapor cloud"); */ Strcpy(buf, Is_airlevel(&u.uz) ? "曇っている場所" : "霧/蒸気の雲"); +#if 1 /*JP*/ + Strcpy(buf2, "雲"); +#endif break; default: /*JP Strcpy(buf,defsyms[glyph_to_cmap(glyph)].explanation); */ Strcpy(buf, jtrns_obj('S', defsyms[glyph_to_cmap(glyph)].explanation)); +#if 1 /*JP*/ + Strcpy(buf2, buf); +#endif break; } #if 1 /*JP*/