diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-13 12:05:03 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:23:23 -0600 |
commit | f6243313170804d143b8d8d0bc946d71a8223c2b (patch) | |
tree | 9b4a2ef8d2df512c661fdd800fa0482d1851c203 /crawl-ref/source/terrain.cc | |
parent | a75deefc045927d0cf4cb3cfbd91641e6b18fcf9 (diff) | |
download | crawl-ref-f6243313170804d143b8d8d0bc946d71a8223c2b.tar.gz crawl-ref-f6243313170804d143b8d8d0bc946d71a8223c2b.zip |
Qazlal: enums, initial descriptions.
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r-- | crawl-ref/source/terrain.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc index 08d5b27668..0440db805c 100644 --- a/crawl-ref/source/terrain.cc +++ b/crawl-ref/source/terrain.cc @@ -386,6 +386,8 @@ god_type feat_altar_god(dungeon_feature_type feat) #if TAG_MAJOR_VERSION == 34 if (feat == DNGN_ALTAR_GOZAG) return GOD_GOZAG; + if (feat == DNGN_ALTAR_QAZLAL) + return GOD_QAZLAL; #endif if (feat >= DNGN_ALTAR_FIRST_GOD && feat <= DNGN_ALTAR_LAST_GOD) return static_cast<god_type>(feat - DNGN_ALTAR_FIRST_GOD + 1); @@ -403,6 +405,8 @@ dungeon_feature_type altar_for_god(god_type god) #if TAG_MAJOR_VERSION == 34 if (god == GOD_GOZAG) return DNGN_ALTAR_GOZAG; + if (god == GOD_QAZLAL) + return DNGN_ALTAR_QAZLAL; #endif return static_cast<dungeon_feature_type>(DNGN_ALTAR_FIRST_GOD + god - 1); @@ -1570,7 +1574,7 @@ static const char *dngn_feature_names[] = "altar_beogh", "altar_jiyva", "altar_fedhas", "altar_cheibriados", "altar_ashenzari", "altar_dithmenos", #if TAG_MAJOR_VERSION > 34 -"altar_gozag", "", "", "", "", "", "", "", +"altar_gozag", "altar_qazlal", "", "", "", "", "", "", #endif "fountain_blue", "fountain_sparkling", "fountain_blood", @@ -1618,6 +1622,7 @@ static const char *dngn_feature_names[] = #if TAG_MAJOR_VERSION == 34 "altar_gozag", +"altar_qazlal", #endif }; |