From f792f9b19c0dcdbe4166ad0dc543f704822bfa29 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 11 Mar 2009 17:43:51 +0000 Subject: Add more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9411 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stuff.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/stuff.h') 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. -- cgit v1.2.3-54-g00ecf