summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-03 21:55:23 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-03 21:55:23 +0000
commit00bb42dc5e7570932126361340420b339c0e265c (patch)
treec24b1ce518515a954f05185e80117301d42b9fb3 /crawl-ref/source/format.h
parent2f988e26917a2fd048d66f16117f4f7627a80dd3 (diff)
downloadcrawl-ref-00bb42dc5e7570932126361340420b339c0e265c.tar.gz
crawl-ref-00bb42dc5e7570932126361340420b339c0e265c.zip
Coloured power display. This is, for now, a rather extreme hack.
Note that some spells (e.g. Apportation) have no actual power limits, so they will always be 'red'. Suggestions welcome. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1736 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/format.h')
-rw-r--r--crawl-ref/source/format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/format.h b/crawl-ref/source/format.h
index af0231e23b..8391c2cbb8 100644
--- a/crawl-ref/source/format.h
+++ b/crawl-ref/source/format.h
@@ -35,6 +35,8 @@ public:
void clear();
+ void swap(formatted_string& other);
+
std::string::size_type length() const;
const formatted_string &operator += (const formatted_string &other);