diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 16:54:00 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 16:54:00 +0000 |
commit | d04f647d2a64423af89b497c4daab8b452e7bf1c (patch) | |
tree | ef6202b2386fdcacdd4a16015ad2c383815c8ff2 /crawl-ref/source/format.h | |
parent | 3548833cfbab7a46fe339542183fa65f276ea167 (diff) | |
download | crawl-ref-d04f647d2a64423af89b497c4daab8b452e7bf1c.tar.gz crawl-ref-d04f647d2a64423af89b497c4daab8b452e7bf1c.zip |
Tutorial tweaks:
* Fixed status display commentary wiping out the status display on curses.
* Fixed doubled %% on Unix (a plague on whoever wrote cprintf() in libw32c.cc).
* Fixed reference to get_number_of_cols() before curses initialisation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1073 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/format.h')
-rw-r--r-- | crawl-ref/source/format.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/format.h b/crawl-ref/source/format.h index a3f51c1ced..3360aa34d5 100644 --- a/crawl-ref/source/format.h +++ b/crawl-ref/source/format.h @@ -44,6 +44,11 @@ public: const std::string &s, bool eol_ends_format = true, bool (*process_tag)(const std::string &tag) = NULL ); + + static formatted_string parse_block( + const std::string &s, + bool eol_ends_format = true, + bool (*process_tag)(const std::string &tag) = NULL ); static int get_colour(const std::string &tag); |