diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-01-12 13:15:59 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-01-12 13:15:59 +0100 |
commit | 1c8e80d2d8c27493312916af3e05762c0bc07540 (patch) | |
tree | 4eaff5df8f64b0808763de721316af0c63d59e8b | |
parent | 9c1370e65f10a606a136bfaa69bad3c916565d12 (diff) | |
download | crawl-ref-1c8e80d2d8c27493312916af3e05762c0bc07540.tar.gz crawl-ref-1c8e80d2d8c27493312916af3e05762c0bc07540.zip |
Make TAG_MAJOR_VERSION a #define not a pansy enum, so you can use it in #if.
-rw-r--r-- | crawl-ref/source/tags.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/tags.h b/crawl-ref/source/tags.h index e7e42ea717..3494c504ab 100644 --- a/crawl-ref/source/tags.h +++ b/crawl-ref/source/tags.h @@ -37,11 +37,8 @@ enum tag_file_type // file types supported by tag system TAGTYPE_PLAYER_NAME // Used only to read the player name }; -enum tag_major_version -{ - TAG_MAJOR_START = 5, - TAG_MAJOR_VERSION = 16 -}; +#define TAG_MAJOR_START 5 +#define TAG_MAJOR_VERSION 16 // Minor version will be reset to zero when major version changes. enum tag_minor_version |