summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-04 22:45:50 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-04 22:45:50 +0100
commit64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963 (patch)
tree9aaba99b80cd44b032cdd30e40f8b6625508ee89 /crawl-ref/source/show.h
parentce5c888daccae3cf40be8e28176f415e54b26650 (diff)
downloadcrawl-ref-64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963.tar.gz
crawl-ref-64c38d95bfd6b24e34bc86f7d4ce7ba345c5a963.zip
Split up view.cc.
Diffstat (limited to 'crawl-ref/source/show.h')
-rw-r--r--crawl-ref/source/show.h16
1 files changed, 4 insertions, 12 deletions
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.