00001 /* 00002 * File: abyss.h 00003 * Summary: Misc abyss specific functions. 00004 * Written by: Linley Henzell 00005 */ 00006 00007 00008 #ifndef ABYSS_H 00009 #define ABYSS_H 00010 00011 // When shifting areas in the abyss, shift the square containing player LOS 00012 // plus a little extra so that the player won't be disoriented by taking a 00013 // step backward after an abyss shift. 00014 const int ABYSS_AREA_SHIFT_RADIUS = LOS_RADIUS + 2; 00015 const coord_def ABYSS_CENTRE(GXM / 2, GYM / 2); 00016 00017 void generate_abyss(); 00018 void abyss_area_shift(); 00019 void abyss_teleport(bool new_area); 00020 void save_abyss_uniques(); 00021 bool is_level_incorruptible(); 00022 bool lugonu_corrupt_level(int power); 00023 void run_corruption_effects(int duration); 00024 00025 #endif