summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-25 16:32:21 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-25 16:32:21 +0000
commit7da71d18a7403dcd95b2e57370dc26bf1274f436 (patch)
tree9620f6d29ccce6bb1446e002ff59293c66f85d27 /crawl-ref/source/stuff.h
parent494e955621e1c6c759d54c65daafc8cecc030645 (diff)
downloadcrawl-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.h2
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