enlightenment formatting

Make the enlightenment output just a little nicer.
This commit is contained in:
keni
2010-01-06 14:48:11 +00:00
parent c3edf0dfae
commit 011323e877
+2 -3
View File
@@ -1107,12 +1107,12 @@ int final; /* ENL_GAMEINPROGRESS:0, ENL_GAVEOVERALIVE, ENL_GAMEOVERDEAD */
Strcpy(tmpbuf, plname); Strcpy(tmpbuf, plname);
*tmpbuf = highc(*tmpbuf); /* same adjustment as bottom line */ *tmpbuf = highc(*tmpbuf); /* same adjustment as bottom line */
Sprintf(buf, "__ %s the %s __", tmpbuf, Sprintf(buf, "%s the %s's atttributes:", tmpbuf,
(flags.female && urole.name.f) ? urole.name.f : urole.name.m); (flags.female && urole.name.f) ? urole.name.f : urole.name.m);
en_win = create_nhwindow(NHW_MENU); en_win = create_nhwindow(NHW_MENU);
/* title */ /* title */
putstr(en_win, 0, buf); /* "__ Conan the Archeologist __" */ putstr(en_win, 0, buf); /* "Conan the Archeologist's attributes:" */
/* background and characteristics; ^X or end-of-game disclosure */ /* background and characteristics; ^X or end-of-game disclosure */
if (mode & BASICENLIGHTENMENT) { if (mode & BASICENLIGHTENMENT) {
/* role, race, alignment, deities */ /* role, race, alignment, deities */
@@ -2007,7 +2007,6 @@ int final;
/* Create the conduct window */ /* Create the conduct window */
en_win = create_nhwindow(NHW_MENU); en_win = create_nhwindow(NHW_MENU);
putstr(en_win, 0, "Voluntary challenges:"); putstr(en_win, 0, "Voluntary challenges:");
putstr(en_win, 0, "");
if (!u.uconduct.food) if (!u.uconduct.food)
enl_msg(You_, "have gone", "went", " without food", ""); enl_msg(You_, "have gone", "went", " without food", "");