Apply the new ground_level method.
[crawl.git] / crawl-ref / source / abyss.h
blob33b81675aa85de5886fa55c581a3791a53dd98ca
1 /*
2 * File: abyss.h
3 * Summary: Misc abyss specific functions.
4 * Written by: Linley Henzell
5 */
8 #ifndef ABYSS_H
9 #define ABYSS_H
11 // When shifting areas in the abyss, shift the square containing player LOS
12 // plus a little extra so that the player won't be disoriented by taking a
13 // step backward after an abyss shift.
14 const int ABYSS_AREA_SHIFT_RADIUS = LOS_RADIUS + 2;
15 const coord_def ABYSS_CENTRE(GXM / 2, GYM / 2);
17 void generate_abyss();
18 void abyss_area_shift();
19 void abyss_teleport(bool new_area);
20 void save_abyss_uniques();
21 bool is_level_incorruptible();
22 bool lugonu_corrupt_level(int power);
23 void run_corruption_effects(int duration);
25 #endif