From a8a183dca9dfa75807dadc556e84b20aab993ce8 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sat, 6 Sep 2008 03:13:34 +0000 Subject: Tiles mcache improvements. Monsters out of sight are now shown with their last seen equipment. Player ghosts are now drawn correctly again. Denzi's new 48x32 pandemonium demon tiles are now used. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6875 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tilereg.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/tilereg.h') diff --git a/crawl-ref/source/tilereg.h b/crawl-ref/source/tilereg.h index 31b7728f0b..74a14b42e8 100644 --- a/crawl-ref/source/tilereg.h +++ b/crawl-ref/source/tilereg.h @@ -12,6 +12,7 @@ #include "tiletex.h" #include "tiles.h" #include +class mcache_entry; class ImageManager { @@ -246,12 +247,10 @@ public: protected: void draw_background(unsigned int bg, unsigned int x, unsigned int y); - bool draw_objects(unsigned int fg, unsigned int x, unsigned int y); + void draw_mcache(mcache_entry *entry, unsigned int x, unsigned int y); void draw_player(unsigned int x, unsigned int y); - void draw_monster(unsigned int fg, unsigned int x, unsigned int y); void draw_foreground(unsigned int bg, unsigned int fg, unsigned int x, unsigned int y); - void draw_doll(dolls_data &doll, unsigned int x, unsigned int y); - void draw_draco(int colour, int mon_idx, int equ_tile, unsigned int x, unsigned int y); + void draw_doll(const dolls_data &doll, unsigned int x, unsigned int y); void draw_cursor(cursor_type type, unsigned int tile); int get_buffer_index(const coord_def &gc); -- cgit v1.2.3-54-g00ecf