diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-07 15:06:00 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-07 15:06:00 +0000 |
commit | 8e904ab0620577064f4a818272b152d1f5d2d3db (patch) | |
tree | dd9d9542db26e0bb398235e49ffa3c7f2ceeac0b /crawl-ref/source/enum.h | |
parent | 1a6365fbd24ab134842816757600de0264f39362 (diff) | |
download | crawl-ref-8e904ab0620577064f4a818272b152d1f5d2d3db.tar.gz crawl-ref-8e904ab0620577064f4a818272b152d1f5d2d3db.zip |
Turfed out obsolete orange crystal statue and silver statue features.
Moved MINMOVE and MINSEE brain damage into the dungeon_feature_type enumeration
where it is clearer what they represent.
Fixed ice statues not being appropriately affected by Shatter and Lee's.
Moved 'v' examine hint information and feature notability into feature_def
flags.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2061 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index a11550c525..aead4414c7 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -993,12 +993,6 @@ enum drop_mode_type DM_MULTI }; -// lowest grid value which can be occupied (walk, swim, fly) -#define MINMOVE 31 - -// lowest grid value which can be seen through -#define MINSEE 11 - // When adding: // // * New stairs/portals: update grid_stair_direction. @@ -1023,11 +1017,15 @@ enum dungeon_feature_type DNGN_WAX_WALL, // 8 DNGN_PERMAROCK_WALL, // 9 - for undiggable walls - DNGN_SILVER_STATUE = 21, // 21 - DNGN_GRANITE_STATUE, - DNGN_ORANGE_CRYSTAL_STATUE, // 23 + // XXX: lowest grid value which can be seen through + DNGN_MINSEE = 11, + + DNGN_GRANITE_STATUE = 21, // 21 DNGN_STATUE_RESERVED_1, - DNGN_STATUE_RESERVED_2, // 25 + DNGN_STATUE_RESERVED_2, + + // XXX: lowest grid value which can be passed by walking etc. + DNGN_MINMOVE = 31, DNGN_LAVA = 61, // 61 DNGN_DEEP_WATER, // 62 @@ -1334,6 +1332,13 @@ enum equipment_type EQ_ALL_ARMOUR // check all armour types }; +enum feature_flag_type +{ + FFT_NONE = 0, + FFT_NOTABLE = 0x1, // should be noted for dungeon overview + FFT_EXAMINE_HINT = 0x2 // could get an "examine-this" hint. +}; + enum fire_type { FIRE_NONE = 0x0000, |