index
:
crawl-ref
master
travis
Dungeon Crawl Stone Soup
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
crawl-ref
/
source
/
random.cc
Commit message (
Expand
)
Author
Age
Files
Lines
*
Rename a variable (decimal_chance())
reaverb
2014-08-11
1
-2
/
+2
*
Restore div_round_up()
Nicholas Feinberg
2014-07-28
1
-0
/
+5
*
Refactor bernoulli a bit.
Neil Moore
2014-07-04
1
-1
/
+1
*
Remove an unused and bizarre function
Nicholas Feinberg
2014-07-01
1
-13
/
+0
*
Deduplicate some code.
Neil Moore
2014-06-26
1
-16
/
+9
*
Chance function(void) to function()
reaverb
2014-05-24
1
-1
/
+1
*
Rename percent_chance() decimal_chance() (|amethyst)
reaverb
2014-05-18
1
-1
/
+1
*
New function: percent_chance()
reaverb
2014-05-10
1
-0
/
+5
*
Remove 3 useless functions (|amethyst)
reaverb
2014-05-10
1
-25
/
+0
*
Staticify (_random_real_inc)
reaverb
2014-05-10
1
-2
/
+2
*
Staticify (_random_real_avg)
reaverb
2014-05-10
1
-2
/
+2
*
Fix ui_random() using the main random generator.
Adam Borowski
2013-12-01
1
-1
/
+1
*
More formatting fixes for return (...);
Neil Moore
2013-11-15
1
-7
/
+7
*
Drop unnecessary parentheses from return statements.
Adam Borowski
2013-11-15
1
-9
/
+9
*
Refactor additional messages for new monsters spawning.
Adam Borowski
2013-10-27
1
-0
/
+24
*
s/random3/ui_random/
Adam Borowski
2013-10-06
1
-1
/
+1
*
random3(), with a different RNG state.
Adam Borowski
2013-10-06
1
-0
/
+18
*
Don't wrap low-level RNG calls twice.
Adam Borowski
2013-10-06
1
-5
/
+47
*
Increase enchantment on weapon randarts.
elliptic
2013-08-26
1
-0
/
+13
*
Add new random functions random_real_inc, random_real_avg, random_range_real
Pete Hurst
2013-06-23
1
-0
/
+25
*
Drop a bunch of useless uses of this->
Adam Borowski
2012-07-10
1
-1
/
+1
*
Remove parentheses around return (simple_function_call).
Adam Borowski
2012-07-05
1
-2
/
+2
*
Drop parentheses around scalar values in "return".
Adam Borowski
2012-07-05
1
-17
/
+17
*
Use templates for random_choose() to eliminate the need for multiple definiti...
Adam Borowski
2011-10-31
1
-77
/
+3
*
Simplify use of random_choose() by using overloading.
Adam Borowski
2011-10-31
1
-11
/
+39
*
Give you.skill() a "scale" argument for partial skills, make callers use it.
Adam Borowski
2011-09-19
1
-0
/
+11
*
Document lower and upper limits of random functions.
Adam Borowski
2011-09-19
1
-1
/
+15
*
Fix the rate of felling trees depending on action speed.
Adam Borowski
2011-07-07
1
-0
/
+16
*
cppcheck: reduce scope of some variables.
Adam Borowski
2011-07-05
1
-2
/
+1
*
Merge branch 'master' into unicode
Adam Borowski
2011-03-13
1
-2
/
+2
|
\
|
*
Typo.
Raphael Langella
2011-01-28
1
-2
/
+2
*
|
Fix tiles compilation.
Adam Borowski
2010-09-26
1
-1
/
+0
|
/
*
Fix spacing.
Robert Vollmert
2010-07-29
1
-1
/
+1
*
Optimize div_rand_round() by avoiding the costly random2() call when unnecess...
Adam Borowski
2010-05-18
1
-1
/
+5
*
random.cc: fix 'warning: "UINT32_MAX" redefined' on Mac OS X
Steven Noonan
2010-05-06
1
-0
/
+2
*
Make sure maybe_random2 doesn't return negative values.
Robert Vollmert
2010-03-05
1
-0
/
+2
*
AC/EV changes as outlined on CDO wiki.
Darshan Shaligram
2010-01-24
1
-0
/
+8
*
Monster respawn rate reduces after 3k turns on level, respawning ends after 1...
Darshan Shaligram
2010-01-22
1
-4
/
+2
*
Make types and bounds in random2 a bit more explicit.
Robert Vollmert
2009-11-10
1
-5
/
+7
*
Fix compile (stdint.h needed for uint*_t).
Darshan Shaligram
2009-11-09
1
-0
/
+1
*
Remove the bias from random2()
Stefan O'Rear
2009-11-08
1
-1
/
+10
*
Fix a stupid bug in defer_rand::random2avg
Stefan O'Rear
2009-11-08
1
-2
/
+2
*
A nifty new abstraction for the RNG: defer_rand
Stefan O'Rear
2009-11-08
1
-0
/
+76
*
Splitting up stuff.cc.
Robert Vollmert
2009-10-30
1
-0
/
+263