summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 03:13:34 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 03:13:34 +0000
commita8a183dca9dfa75807dadc556e84b20aab993ce8 (patch)
treef2dcca4db96304a94b07c9282cd02a71f43f64a3 /crawl-ref/source/tilereg.h
parent7349eedd00eabe85d7e76e457011d48522b97593 (diff)
downloadcrawl-ref-a8a183dca9dfa75807dadc556e84b20aab993ce8.tar.gz
crawl-ref-a8a183dca9dfa75807dadc556e84b20aab993ce8.zip
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
Diffstat (limited to 'crawl-ref/source/tilereg.h')
-rw-r--r--crawl-ref/source/tilereg.h7
1 files changed, 3 insertions, 4 deletions
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 <vector>
+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);