summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-init.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2009-12-31 00:54:23 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-12-31 00:54:23 +0530
commitf5cf60aa3d03183567b8349ac9a43822261d64ab (patch)
treee59b5281265758b432ad4d7af586108f04fbc33e /crawl-ref/source/ng-init.cc
parent71dd6514367e7a345fa9d2480c353c93826c5b84 (diff)
downloadcrawl-ref-f5cf60aa3d03183567b8349ac9a43822261d64ab.tar.gz
crawl-ref-f5cf60aa3d03183567b8349ac9a43822261d64ab.zip
Disable Swamp for dgl builds to direct more playtesting towards Shoals (dpeg, Napkin).
Diffstat (limited to 'crawl-ref/source/ng-init.cc')
-rw-r--r--crawl-ref/source/ng-init.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/ng-init.cc b/crawl-ref/source/ng-init.cc
index 588d42b505..9d1c55b901 100644
--- a/crawl-ref/source/ng-init.cc
+++ b/crawl-ref/source/ng-init.cc
@@ -46,6 +46,12 @@ static unsigned char _random_potion_description()
return static_cast<unsigned char>(desc);
}
+// [dshaligram] FIXME: This is to push more playtesting towards Shoals,
+// should be removed before release.
+#ifdef DGAMELAUNCH
+#define SHOALS_TESTING
+#endif
+
// Determine starting depths of branches.
void initialise_branch_depths()
{
@@ -55,12 +61,14 @@ void initialise_branch_depths()
branches[BRANCH_LAIR].startdepth = random_range(8, 13);
branches[BRANCH_HIVE].startdepth = random_range(11, 16);
branches[BRANCH_SLIME_PITS].startdepth = random_range(5, 8);
+#ifndef SHOALS_TESTING
if ( coinflip() )
{
branches[BRANCH_SWAMP].startdepth = random_range(2, 5);
branches[BRANCH_SHOALS].startdepth = -1;
}
else
+#endif
{
branches[BRANCH_SWAMP].startdepth = -1;
branches[BRANCH_SHOALS].startdepth = random_range(2, 5);