summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/defines.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-06-11 23:52:30 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-06-11 23:52:30 +0200
commitfd0e49cbea01e814d4190f8b5d3553a4896e01cd (patch)
tree0a580f162922c6048d4e1b08cc415e4a39b2b497 /crawl-ref/source/defines.h
parenta31dea80190f334ed7e95674c24be89817dda12a (diff)
parent2162151f39eea9d0ff81978901798c83b875e5dc (diff)
downloadcrawl-ref-fd0e49cbea01e814d4190f8b5d3553a4896e01cd.tar.gz
crawl-ref-fd0e49cbea01e814d4190f8b5d3553a4896e01cd.zip
Merge branch 'master' into vehumet
Conflicts: crawl-ref/source/dat/descript/ability.txt crawl-ref/source/dat/descript/gods.txt crawl-ref/source/religion.cc
Diffstat (limited to 'crawl-ref/source/defines.h')
-rw-r--r--crawl-ref/source/defines.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/crawl-ref/source/defines.h b/crawl-ref/source/defines.h
index 07805c3e0f..46e35cad27 100644
--- a/crawl-ref/source/defines.h
+++ b/crawl-ref/source/defines.h
@@ -9,7 +9,7 @@
#define DEFINES_H
// Minimum terminal size allowed.
-#define MIN_COLS 80
+#define MIN_COLS 79
#define MIN_LINES 24
#define NUM_MONSTER_SPELL_SLOTS 6
@@ -72,6 +72,9 @@ enum extra_monster_index_type
MISC_MISCAST,
};
+// number of monster attack specs
+#define MAX_NUM_ATTACKS 4
+
// size of Pan monster sets. Also used for wave data in ZotDef.
#define MAX_MONS_ALLOC 20
@@ -155,6 +158,8 @@ const int LABYRINTH_BORDER = 4;
// changing this affects the total number of shops in a game
#define MAX_RANDOM_SHOPS 5
+#define MAX_BRANCH_DEPTH 27
+
// This value is used to make test_hit checks always succeed
#define AUTOMATIC_HIT 1500
@@ -209,24 +214,15 @@ const int MAX_RECENT_SPELLS = 10;
const int INVALID_ABSDEPTH = -1000;
-const int DEPTH_ABYSS = 51;
-const int DEPTH_PAN = 52;
-
-const int BRANCH_DUNGEON_DEPTH = 27;
-
//#define DEBUG_MIMIC
#ifdef DEBUG_MIMIC
// Missing stairs are replaced in fixup_branch_stairs, but replacing
// too many breaks interlevel connectivity, so we don't use a chance of 1.
#define FEATURE_MIMIC_CHANCE 2
#define ITEM_MIMIC_CHANCE 1
- #define FEATURE_MIMIC_DEPTH 1
- #define ITEM_MIMIC_DEPTH 1
#else
#define FEATURE_MIMIC_CHANCE 100
- #define ITEM_MIMIC_CHANCE 500
- #define FEATURE_MIMIC_DEPTH 10
- #define ITEM_MIMIC_DEPTH 7
+ #define ITEM_MIMIC_CHANCE 1000
#endif
const int ANTITRAIN_PENALTY = 2;