From 64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Wed, 4 Nov 2009 22:45:50 +0100 Subject: Split up view.cc. --- crawl-ref/source/show.h | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'crawl-ref/source/show.h') diff --git a/crawl-ref/source/show.h b/crawl-ref/source/show.h index a6162e23fa..7ee086b520 100644 --- a/crawl-ref/source/show.h +++ b/crawl-ref/source/show.h @@ -57,19 +57,11 @@ struct show_type bool operator < (const show_type &other) const; }; -struct map_cell +struct show_info { - show_type object; // The object: monster, item, feature, or cloud. - unsigned short flags; // Flags describing the mappedness of this square. - unsigned short colour; - unsigned long property; // Flags for blood, sanctuary, ... - - map_cell() : object(), flags(0), colour(0), property(0) { } - void clear() { flags = colour = 0; object = show_type(); } - - unsigned glyph() const; - bool known() const; - bool seen() const; + dungeon_feature_type feat; + show_item_type item; + monster_type mons; }; // Replaces get_item_symbol. -- cgit v1.2.3-54-g00ecf