summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-25 22:14:02 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-25 22:14:02 +0000
commit3037e46604dbd1416349dc83c0621f3015bbd013 (patch)
tree32121afc9d62d6f941ef48c436e8ad1dbf9ffdc1 /crawl-ref/source/externs.h
parent50f0339056d716c5c6d8b785b1272dd7b5bd5065 (diff)
downloadcrawl-ref-3037e46604dbd1416349dc83c0621f3015bbd013.tar.gz
crawl-ref-3037e46604dbd1416349dc83c0621f3015bbd013.zip
Apply a patch by Rob Grant (spoondrift) that enables all combinations of
species/class except those that are outright impossible (because of god restrictions). When choosing a character, you can pick any random character or one of the recommended combinations. This does not take (un)restricted choices for weapons/books/gods into account. Apart from that, it's pretty good, though we might want to (un)restrict some combinations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6142 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 579cf5e74a..2d0066e431 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1679,6 +1679,8 @@ public:
int death_knight; // choice of god/necromancy for Death Knights
god_type priest; // choice of god for priests (Zin/Yred)
bool random_pick; // randomly generate character
+ bool good_random; // when chosing randomly only choose
+ // unrestricted combinations
int hp_warning; // percentage hp for danger warning
int magic_point_warning; // percentage mp for danger warning
char race; // preselected race