summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-11 17:43:51 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-11 17:43:51 +0000
commitf792f9b19c0dcdbe4166ad0dc543f704822bfa29 (patch)
tree83a7e9b0e433274d51eae159527c122091157b6e /crawl-ref/source/stuff.h
parent4413ba0a172b66f906b45635be9f3d86339b76f7 (diff)
downloadcrawl-ref-f792f9b19c0dcdbe4166ad0dc543f704822bfa29.tar.gz
crawl-ref-f792f9b19c0dcdbe4166ad0dc543f704822bfa29.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9411 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index 464fb1794d..4104825dbe 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -29,19 +29,19 @@ int div_rand_round( int num, int den );
int div_round_up( int num, int den );
bool one_chance_in(int a_million);
bool x_chance_in_y(int x, int y);
-int random2(int randmax);
-int maybe_random2( int x, bool random_factor );
+int random2(int max);
+int maybe_random2(int x, bool random_factor);
int random_range(int low, int high);
int random_range(int low, int high, int nrolls);
const char* random_choose_string(const char* first, ...);
int random_choose(int first, ...);
int random_choose_weighted(int weight, int first, ...);
unsigned long random_int();
-int random2avg( int max, int rolls );
+int random2avg(int max, int rolls);
int bestroll(int max, int rolls);
-int roll_dice( int num, int size );
-void scale_dice( dice_def &dice, int threshold = 24 );
+int roll_dice(int num, int size);
+void scale_dice(dice_def &dice, int threshold = 24);
// Various ways to iterate over things.