summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-02 11:52:31 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-02 11:52:31 +0000
commitb5f22d6caac43d3384229512064fab6df622d3e5 (patch)
tree91fbeaf8d0b91b320763454c5b4850575064b84c /crawl-ref/source/misc.cc
parentf36915f1cabb3547931cdc206e8b575dc2d18944 (diff)
downloadcrawl-ref-b5f22d6caac43d3384229512064fab6df622d3e5.tar.gz
crawl-ref-b5f22d6caac43d3384229512064fab6df622d3e5.zip
+ Implement most of the suggestions for HUD compression.
Didn't do anything with exp as there didn't seem to be consensus. + Enable the HP/Magic bars in non-tile builds; move them a little bit. I stumbled across these while looking into making HP/MP draw on a single line. I think it's a nice feature; worth at least an option, if they're not on all the time. + Fix bar-drawing bug (the "reduced" part was not drawing properly) + Reduce size of hud by 2, expand mlist by 2. Non-tile only; tile doesn't need the extra space and it uses GOTO_STAT for other things. I don't want to risk making it too small. Not implemented: - Monster list renders from the bottom up (tricky) - Use only 2 lines for warning lights git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4043 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc13
1 files changed, 2 insertions, 11 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 489b507f6a..cc760a32ee 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -60,6 +60,7 @@
#include "mon-util.h"
#include "monstuff.h"
#include "ouch.h"
+#include "output.h"
#include "overmap.h"
#include "place.h"
#include "player.h"
@@ -1577,18 +1578,8 @@ std::string level_description_string()
void new_level(void)
{
- textcolor(LIGHTGREY);
-
- cgotoxy(7, 12, GOTO_STAT);
-
-#if DEBUG_DIAGNOSTICS
- cprintf( "(%d) ", you.your_level + 1 );
-#endif
-
take_note(Note(NOTE_DUNGEON_LEVEL_CHANGE));
- cprintf("%s", level_description_string().c_str());
-
- clear_to_end_of_line();
+ print_stats_level(level_description_string());
#ifdef DGL_WHEREIS
whereis_record();
#endif