summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/format.h')
-rw-r--r--crawl-ref/source/format.h5
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);