summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-07 09:49:16 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-07 09:49:16 +0000
commit4415eefe7b307f1f396d42cfcb04f42561a791f9 (patch)
tree6f08b7a4787d803b31162f3e6fa8dfc49fd40ca3 /crawl-ref/source/output.cc
parent2cda029b8ebf8b586ebe3bd7fa772044d83fcf8a (diff)
downloadcrawl-ref-4415eefe7b307f1f396d42cfcb04f42561a791f9.tar.gz
crawl-ref-4415eefe7b307f1f396d42cfcb04f42561a791f9.zip
br 1934467
fix Exp level/pool display. Move turn count to line 2, next to race. Kind of lame, but where can it go? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4098 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc29
1 files changed, 16 insertions, 13 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 416b42d83b..7139e58392 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -102,10 +102,7 @@ void update_turn_count()
return;
}
- // FIXME: Create some kind of layout manager class so we can
- // templatise the heads-up display layout and stop hardcoding
- // these coords.
- cgotoxy(25, 8, GOTO_STAT);
+ cgotoxy(19+6, 2, GOTO_STAT);
textcolor(LIGHTGREY);
// Show the turn count starting from 1. You can still quit on turn 0.
@@ -791,17 +788,22 @@ void print_stats(void)
if (you.redraw_evasion) { you.redraw_evasion = false; _print_stats_ev (19, 7); }
if (you.redraw_experience)
{
- cgotoxy(1+12, 8, GOTO_STAT);
+ cgotoxy(1,8, GOTO_STAT);
+ textcolor(Options.status_caption_colour);
+ cprintf("Exp level: ");
+ textcolor(LIGHTGREY);
+ cprintf("%d", you.experience_level);
+ cgotoxy(19,8, GOTO_STAT);
+ textcolor(Options.status_caption_colour);
+ cprintf("Pool: ");
+ textcolor(LIGHTGREY);
#if DEBUG_DIAGNOSTICS
- cprintf( "%d/%lu (%d/%d)",
- you.experience_level, you.experience,
- you.skill_cost_level, you.exp_available );
+ cprintf("%d/%d (%d)",
+ you.skill_cost_level, you.exp_available, you.experience);
#else
- cprintf( "Level %d Pool %d",
- you.experience_level, you.exp_available );
+ cprintf("%d", you.exp_available);
#endif
-
clear_to_end_of_line();
you.redraw_experience = false;
}
@@ -887,14 +889,15 @@ void draw_border(void)
cgotoxy( 1, 5, GOTO_STAT); cprintf("Str:");
cgotoxy( 1, 6, GOTO_STAT); cprintf("Int:");
cgotoxy( 1, 7, GOTO_STAT); cprintf("Dex:");
- cgotoxy( 1, 8, GOTO_STAT); cprintf("Experience:");
+ // cgotoxy( 1, 8, GOTO_STAT); cprintf("Exp level:");
cgotoxy(19, 5, GOTO_STAT); cprintf("AC:");
cgotoxy(19, 6, GOTO_STAT); cprintf("Sh:");
cgotoxy(19, 7, GOTO_STAT); cprintf("Ev:");
+ //cgotoxy(19, 8, GOTO_STAT); cprintf("Pool:");
if (Options.show_turns)
{
- cgotoxy(19, 8, GOTO_STAT); cprintf("Turn:");
+ cgotoxy(19, 2, GOTO_STAT); cprintf("Turn:");
}
textcolor(LIGHTGREY);
cgotoxy( 1,9, GOTO_STAT); cprintf("Level");