diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-24 09:02:38 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-24 09:02:38 +0000 |
commit | 5e887cdbaca92e5706d363c22fafbe10c0de669b (patch) | |
tree | ed48514caa5780a8ee5dcc2dcfd3ccfbaa4eeaba /crawl-ref/source/mon-util.h | |
parent | 0ff119e29e26761c5c24b70dacbee90de6735323 (diff) | |
download | crawl-ref-5e887cdbaca92e5706d363c22fafbe10c0de669b.tar.gz crawl-ref-5e887cdbaca92e5706d363c22fafbe10c0de669b.zip |
[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
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index a5802ba51a..2b69ebd91d 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -78,6 +78,8 @@ monsterentry *get_monster_data(int p_monsterid); void init_monsters( FixedVector<unsigned short, 1000>& colour ); void init_monster_symbols(); +monsters *monster_at(const coord_def &pos); + // this is the old moname() std::string mons_type_name(int type, description_level_type desc ); |