diff options
Diffstat (limited to 'src/corrupt.hpp')
-rw-r--r-- | src/corrupt.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/corrupt.hpp b/src/corrupt.hpp index 77a7496e..9e185201 100644 --- a/src/corrupt.hpp +++ b/src/corrupt.hpp @@ -1,13 +1,12 @@ -#include "h-basic.h" - +#include <boost/optional.hpp> #include <string> void gain_random_corruption(); std::string dump_corruptions(bool color, bool header); void lose_corruption(); -bool_ player_has_corruption(int corruption_idx); +bool player_has_corruption(int corruption_idx); void player_gain_corruption(int corruption_idx); -s16b get_corruption_power(int corruption_idx); +boost::optional<int> get_corruption_power(int corruption_idx); /* * Corruptions @@ -40,7 +39,6 @@ s16b get_corruption_power(int corruption_idx); #define MUT1_SWAP_POS 25 #define MUT1_SHRIEK 26 #define MUT1_ILLUMINE 27 -#define MUT1_DET_CURSE 28 #define MUT1_BERSERK 29 #define MUT1_MIDAS_TCH 30 #define MUT1_GROW_MOLD 31 |