extern const char *hu_stat[]; /* defined in eat.c */
+#if 0 /*JP*/
const char *const enc_stat[] = { "", "Burdened", "Stressed",
"Strained", "Overtaxed", "Overloaded" };
+#else
+const char *const enc_stat[] = { "", "\82æ\82ë\82ß\82«", "\88³\94\97",
+ "\8cÀ\8aE", "\89×\8fd", "\92´\89ß"};
+#endif
STATIC_OVL NEARDATA int mrank_sz = 0; /* loaded by max_rank_sz (from u_init) */
STATIC_DCL const char *NDECL(rank);
Strcpy(newbot1, plname);
if ('a' <= newbot1[0] && newbot1[0] <= 'z')
newbot1[0] += 'A' - 'a';
+#if 1 /*JP*/
+ if(is_kanji1(newbot1, 9))
+ newbot1[9] = '_';
+#endif
newbot1[10] = 0;
+/*JP
Sprintf(nb = eos(newbot1), " the ");
+*/
+ Sprintf(nb = eos(newbot1)," ");
if (Upolyd) {
char mbot[BUFSZ];
Sprintf(nb = eos(nb), "%*s", i - j, " "); /* pad with spaces */
if (ACURR(A_STR) > 18) {
if (ACURR(A_STR) > STR18(100))
+/*JP
Sprintf(nb = eos(nb), "St:%2d ", ACURR(A_STR) - 100);
+*/
+ Sprintf(nb = eos(nb), "\8b:%2d ", ACURR(A_STR) - 100);
else if (ACURR(A_STR) < STR18(100))
+/*JP
Sprintf(nb = eos(nb), "St:18/%02d ", ACURR(A_STR) - 18);
+*/
+ Sprintf(nb = eos(nb), "\8b:18/%02d ", ACURR(A_STR) - 18);
else
+/*JP
Sprintf(nb = eos(nb), "St:18/** ");
+*/
+ Sprintf(nb = eos(nb), "\8b:18/** ");
} else
+/*JP
Sprintf(nb = eos(nb), "St:%-1d ", ACURR(A_STR));
+*/
+ Sprintf(nb = eos(nb), "\8b:%-1d ", ACURR(A_STR));
+/*JP
Sprintf(nb = eos(nb), "Dx:%-1d Co:%-1d In:%-1d Wi:%-1d Ch:%-1d",
+*/
+ Sprintf(nb = eos(nb), "\91\81:%-1d \91Ï:%-1d \92m:%-1d \8c«:%-1d \96£:%-1d ",
ACURR(A_DEX), ACURR(A_CON), ACURR(A_INT), ACURR(A_WIS),
ACURR(A_CHA));
+#if 0 /*JP*/
Sprintf(nb = eos(nb),
(u.ualign.type == A_CHAOTIC)
? " Chaotic"
: (u.ualign.type == A_NEUTRAL) ? " Neutral" : " Lawful");
+#else
+ Sprintf(nb = eos(nb),
+ (u.ualign.type == A_CHAOTIC)
+ ? "\8d¬\93×"
+ : (u.ualign.type == A_NEUTRAL) ? "\92\86\97§" : "\92\81\8f\98");
+#endif
#ifdef SCORE_ON_BOTL
if (flags.showscore)
+/*JP
Sprintf(nb = eos(nb), " S:%ld", botl_score());
+*/
+ Sprintf(nb = eos(nb), "%ld\93_", botl_score());
#endif
curs(WIN_STATUS, 1, 0);
putstr(WIN_STATUS, 0, newbot1);
if (hp < 0)
hp = 0;
(void) describe_level(newbot2);
+/*JP
Sprintf(nb = eos(newbot2), "%s:%-2ld HP:%d(%d) Pw:%d(%d) AC:%-2d",
+*/
+ Sprintf(nb = eos(newbot2), "%s:%-2ld \91Ì:%d(%d) \96\82:%d(%d) \8aZ:%-2d",
encglyph(objnum_to_glyph(GOLD_PIECE)), money_cnt(invent), hp,
hpmax, u.uen, u.uenmax, u.uac);
if (Upolyd)
Sprintf(nb = eos(nb), " HD:%d", mons[u.umonnum].mlevel);
else if (flags.showexp)
+/*JP
Sprintf(nb = eos(nb), " Xp:%u/%-1ld", u.ulevel, u.uexp);
+*/
+ Sprintf(nb = eos(nb), " \8co\8c±:%u/%-1ld", u.ulevel,u.uexp);
else
+/*JP
Sprintf(nb = eos(nb), " Exp:%u", u.ulevel);
+*/
+ Sprintf(nb = eos(nb), " \8co\8c±:%u", u.ulevel);
if (flags.time)
+/*JP
Sprintf(nb = eos(nb), " T:%ld", moves);
+*/
+ Sprintf(nb = eos(nb), " \95à:%ld", moves);
if (strcmp(hu_stat[u.uhs], " ")) {
Sprintf(nb = eos(nb), " ");
Strcat(newbot2, hu_stat[u.uhs]);
}
if (Confusion)
+/*JP
Sprintf(nb = eos(nb), " Conf");
+*/
+ Sprintf(nb = eos(nb), " \8d¬\97\90");
if (Sick) {
if (u.usick_type & SICK_VOMITABLE)
+/*JP
Sprintf(nb = eos(nb), " FoodPois");
+*/
+ Sprintf(nb = eos(nb), " \90H\93Å");
if (u.usick_type & SICK_NONVOMITABLE)
+/*JP
Sprintf(nb = eos(nb), " Ill");
+*/
+ Sprintf(nb = eos(nb), " \95a\8bC");
}
if (Blind)
+/*JP
Sprintf(nb = eos(nb), " Blind");
+*/
+ Sprintf(nb = eos(nb), " \96Ó\96Ú");
if (Stunned)
+/*JP
Sprintf(nb = eos(nb), " Stun");
+*/
+ Sprintf(nb = eos(nb), " á¿\9dò");
if (Hallucination)
+/*JP
Sprintf(nb = eos(nb), " Hallu");
+*/
+ Sprintf(nb = eos(nb), " \8c¶\8ao");
if (Slimed)
+/*JP
Sprintf(nb = eos(nb), " Slime");
+*/
+ Sprintf(nb = eos(nb), " \82Ç\82ë\82Ç\82ë");
if (cap > UNENCUMBERED)
Sprintf(nb = eos(nb), " %s", enc_stat[cap]);
curs(WIN_STATUS, 1, 1);
if (Is_knox(&u.uz))
Sprintf(buf, "%s ", dungeons[u.uz.dnum].dname);
else if (In_quest(&u.uz))
+/*JP
Sprintf(buf, "Home %d ", dunlev(&u.uz));
+*/
+ Sprintf(buf, "\8cÌ\8b½ %d ", dunlev(&u.uz));
else if (In_endgame(&u.uz))
+/*JP
Sprintf(buf, Is_astralevel(&u.uz) ? "Astral Plane " : "End Game ");
+*/
+ Sprintf(buf, Is_astralevel(&u.uz) ? "\90¸\97ì\8aE " : "\8dÅ\8fI\8e\8e\97û ");
else {
/* ports with more room may expand this one */
+/*JP
Sprintf(buf, "Dlvl:%-2d ", depth(&u.uz));
+*/
+ Sprintf(buf, "\92n\89º:%-2d ", depth(&u.uz));
ret = 0;
}
return ret;