diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-07-06 01:57:21 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-07-06 02:10:01 +0200 |
commit | 67cdbdb44e4f273f35c4d17349170dddc53b7a6a (patch) | |
tree | f56b1d6e5d1cbd1d7d087fa4101feb73a081fbd9 /crawl-ref/source/abyss.h | |
parent | 20850811713ecdd234977c6c753a8694fc9d863d (diff) | |
download | crawl-ref-67cdbdb44e4f273f35c4d17349170dddc53b7a6a.tar.gz crawl-ref-67cdbdb44e4f273f35c4d17349170dddc53b7a6a.zip |
Encase new Abyss code in #ifdefs.
Diffstat (limited to 'crawl-ref/source/abyss.h')
-rw-r--r-- | crawl-ref/source/abyss.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/abyss.h b/crawl-ref/source/abyss.h index 8976599021..a3220c560d 100644 --- a/crawl-ref/source/abyss.h +++ b/crawl-ref/source/abyss.h @@ -13,21 +13,24 @@ const int ABYSS_AREA_SHIFT_RADIUS = LOS_RADIUS + 2; const coord_def ABYSS_CENTRE(GXM / 2, GYM / 2); -struct abyss_state { +#ifdef NEW_ABYSS +struct abyss_state +{ coord_def major_coord; double depth; }; +void abyss_morph(); +void abyss_maybe_decay_vaults(); +void push_features_to_abyss(); +#endif void generate_abyss(); void maybe_shift_abyss_around_player(); -void abyss_morph(); void abyss_area_shift(); void abyss_teleport(bool new_area); -void abyss_maybe_decay_vaults(); void save_abyss_uniques(); bool is_level_incorruptible(); bool lugonu_corrupt_level(int power); void run_corruption_effects(int duration); -void push_features_to_abyss(); #endif |