summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-19 01:50:06 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-19 01:50:06 +0000
commit4a6720babaa50b72d8ed6ca575c1219b3ebe09bd (patch)
tree37c8d9b60ac99a62a002466ad5e4dd7d2d2619fd /crawl-ref/source/religion.h
parent01811808aa7c524e52cbd0c73c20b3888e939d29 (diff)
downloadcrawl-ref-4a6720babaa50b72d8ed6ca575c1219b3ebe09bd.tar.gz
crawl-ref-4a6720babaa50b72d8ed6ca575c1219b3ebe09bd.zip
Expand choose_random_nearby_monster() to optionally allow choosing only
particular types of monsters. Accordingly, make it global, and move it from decks.cc to monstuff.cc. In xom.cc, remove get_random_nearby_monster(), as it's duplicate code, and replace it with a call to choose_random_nearby_monster(), filtering out those monsters that shouldn't be mutated. All this should eventually allow choosing a random friendly monster near you, for the proposed TSO/Beogh blessings. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3714 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
0 files changed, 0 insertions, 0 deletions