diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-25 16:32:21 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-25 16:32:21 +0000 |
commit | 7da71d18a7403dcd95b2e57370dc26bf1274f436 (patch) | |
tree | 9620f6d29ccce6bb1446e002ff59293c66f85d27 /crawl-ref/source/stuff.h | |
parent | 494e955621e1c6c759d54c65daafc8cecc030645 (diff) | |
download | crawl-ref-7da71d18a7403dcd95b2e57370dc26bf1274f436.tar.gz crawl-ref-7da71d18a7403dcd95b2e57370dc26bf1274f436.zip |
Add miscellaneous minor cleanups to prepare for the introduction of
Yred's injury mirroring: move the routine to make a visible monster
flash a particular color into its own function, add an integer-based
square root function based on Newton's method to stuff.cc, and adjust
prayer lengths for Zin (1 turn), Yred (20 turns), Ely (same as Yred),
and all gods who ignore prayers (same as Zin).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6982 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r-- | crawl-ref/source/stuff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index 918665aaab..93c655383c 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -227,6 +227,8 @@ int choose_random_weighted(Iterator beg, const Iterator end) return result; } +int integer_sqrt(int value); + int random_rod_subtype(); #endif |