From 5e887cdbaca92e5706d363c22fafbe10c0de669b Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 24 Jul 2007 09:02:38 +0000 Subject: [1749272] Fixed view update issues: - Redraw view when entering a new level before allowing monsters on the level to act. - Monsters are redrawn on the view as and when they move, instead of postponing the view update to the end of turn. - Beam animations and monster redraws force a view update if the view is stale (such as when a beam is shown during travel and travel_delay = -1). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1925 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/view.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'crawl-ref/source/view.h') diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index 5b6145d68b..19f0cedbd5 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -78,20 +78,6 @@ bool noisy( int loudness, int nois_x, int nois_y, const char *msg = NULL ); * *********************************************************************** */ void show_map( FixedVector& spec_place, bool travel_mode ); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - * *********************************************************************** */ -void viewwindow2(char draw_it, bool do_updates); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: acr - * *********************************************************************** */ -void viewwindow3(char draw_it, bool do_updates); // non-IBM graphics - // last updated 19jun2000 (gdl) /* *********************************************************************** * called from: acr view @@ -157,6 +143,8 @@ std::string screenshot(bool fullscreen = false); unsigned get_sightmap_char(int feature); unsigned get_magicmap_char(int feature); +bool view_update(); +void view_update_at(const coord_def &pos); void viewwindow(bool draw_it, bool do_updates); void fire_monster_alerts(); -- cgit v1.2.3-54-g00ecf