summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-16 17:29:52 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-16 17:29:52 +0100
commit71adb1db298adf054f6ae453a5b40807fbf021d3 (patch)
tree7c5c057b70e2fc23e98f925a7c7d8d13d72a79a4 /crawl-ref/source/view.cc
parent6acd640e5aa287d45368f50bf5776e72b1fe4159 (diff)
downloadcrawl-ref-71adb1db298adf054f6ae453a5b40807fbf021d3.tar.gz
crawl-ref-71adb1db298adf054f6ae453a5b40807fbf021d3.zip
Wrap view flashing in flash_view.
This also removes env.show updates when flashing.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index a81f5389df..afa1718677 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -619,6 +619,12 @@ bool view_update()
return (false);
}
+void flash_view(int colour)
+{
+ you.flash_colour = colour;
+ viewwindow(false, false);
+}
+
static void _debug_pane_bounds()
{
#if DEBUG_PANE_BOUNDS