From f5cf60aa3d03183567b8349ac9a43822261d64ab Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Thu, 31 Dec 2009 00:54:23 +0530 Subject: Disable Swamp for dgl builds to direct more playtesting towards Shoals (dpeg, Napkin). --- crawl-ref/source/ng-init.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/ng-init.cc') 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(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); -- cgit v1.2.3-54-g00ecf