summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-29 18:12:52 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-29 18:12:52 +0000
commit61b0a568e4ac1a1c2c7fb8d038144488c0cd14d2 (patch)
tree1fb3a52208649aad9190b3640726ed0d0cb56dec /crawl-ref/source/notes.h
parent828402203ba5dabe03082ad8a0768a4b6a66e542 (diff)
downloadcrawl-ref-61b0a568e4ac1a1c2c7fb8d038144488c0cd14d2.tar.gz
crawl-ref-61b0a568e4ac1a1c2c7fb8d038144488c0cd14d2.zip
Redid how the resists screen works (both in-game and in-dump.)
Minor notes refactoring. Added a basic notes browser on '_'. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@528 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.h')
-rw-r--r--crawl-ref/source/notes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.h b/crawl-ref/source/notes.h
index 882fe81250..6a604e485c 100644
--- a/crawl-ref/source/notes.h
+++ b/crawl-ref/source/notes.h
@@ -53,10 +53,11 @@ struct Note {
std::string desc;
void load( FILE* fp );
void save( FILE* fp ) const;
+ std::string describe( bool when = true, bool where = true,
+ bool what = true ) const;
};
extern std::vector<Note> note_list;
-std::string describe_note( const Note& note );
void activate_notes( bool active );
bool notes_are_active();
void take_note( const Note& note );