diff options
author | Florian Diebold <flodiebold@gmail.com> | 2012-11-18 13:03:29 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2012-11-23 21:28:21 +0100 |
commit | a361f891939db01b65f83ebe19c1feb00c819a52 (patch) | |
tree | b0d8a5346295b3a9a122eb52a0eba3f9ba1b5f85 /crawl-ref/source/status.h | |
parent | 661742a83656aa595214907893e583ca31a49abf (diff) | |
download | crawl-ref-a361f891939db01b65f83ebe19c1feb00c819a52.tar.gz crawl-ref-a361f891939db01b65f83ebe19c1feb00c819a52.zip |
Webtiles: Refactor status handling; properly colour boosted stats.
Diffstat (limited to 'crawl-ref/source/status.h')
-rw-r--r-- | crawl-ref/source/status.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/status.h b/crawl-ref/source/status.h index cbec53398e..16945df107 100644 --- a/crawl-ref/source/status.h +++ b/crawl-ref/source/status.h @@ -32,6 +32,7 @@ enum status_type STATUS_SUPPRESSED, STATUS_TERRAIN, STATUS_SILENCE, + STATUS_LAST_STATUS = STATUS_SILENCE }; struct status_info @@ -45,7 +46,8 @@ struct status_info // status should be a duration or status_type // *info will be filled in as appropriate for current // character state -void fill_status_info(int status, status_info* info); +// returns true if the status has a description +bool fill_status_info(int status, status_info* info); void init_duration_index(); |