diff options
author | Aaron Becker <akbecker@gmail.com> | 2011-09-04 18:26:34 -0500 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-09-05 19:40:40 +0200 |
commit | d8a1b61a294c4ae093433b8f1a80ba85d61d79b0 (patch) | |
tree | dbf3f414e7c163db5cd0edc6de5e5a90ee8329c8 /crawl-ref/source/dgn-overview.h | |
parent | 8cbef500e09bb11b0317d92e63f7f164fd2ab8ec (diff) | |
download | crawl-ref-d8a1b61a294c4ae093433b8f1a80ba85d61d79b0.tar.gz crawl-ref-d8a1b61a294c4ae093433b8f1a80ba85d61d79b0.zip |
Auto-annotate uniques and player ghosts on the overview screen
Add annotations for any uniques or players ghosts that the player comes
across that indicate what level they were last known to be on, removing
when they are killed or otherwise removed while in your LOS. If they
change levels when out of view, the annotation remains until you run
into them elsewhere.
Diffstat (limited to 'crawl-ref/source/dgn-overview.h')
-rw-r--r-- | crawl-ref/source/dgn-overview.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-overview.h b/crawl-ref/source/dgn-overview.h index f5d6d8fa2a..a440472ff8 100644 --- a/crawl-ref/source/dgn-overview.h +++ b/crawl-ref/source/dgn-overview.h @@ -24,13 +24,24 @@ std::string overview_description_string(bool display); void set_level_exclusion_annotation(std::string str, level_id li = level_id::current()); void clear_level_exclusion_annotation(level_id li = level_id::current()); +void set_level_unique_annotation(std::string str, + level_id li = level_id::current()); +void set_unique_annotation(monster* mons); +void remove_unique_annotation(monster* mons); std::string get_level_annotation(level_id li = level_id::current(), - bool skip_excl = false); + bool skip_excl = false, + bool skip_uniq = false, + bool use_colour = false, + int colour = LIGHTRED); bool level_annotation_has(std::string str, level_id li = level_id::current()); void annotate_level(); +class writer; +class reader; +void marshallUniqueAnnotations(writer& outf); +void unmarshallUniqueAnnotations(reader& inf); #endif |