Michael Cook (mackal)
395be050a3
Switch random function to std::mt19937
...
Added class EQEmu::Random
Functions:
EQEmu::Random::Int(int low, int high)
EQEmu::Random::Real(double low, double high)
EQEmu::Random::Roll(int required)
EQEmu::Random::Roll(double required)
EQEmu::Random::Reseed()
For zone, you will access the random object through the zone object
ex.
zone->random.Int(0, 100);
Int returns a random int between low and high
Real returns a random double between low and high
Roll(int) returns true if Int(0, 99) < required is true
Roll(double) returns true if Real(0.0, 1.0) <= required is true
2014-12-01 18:13:12 -05:00
..
2014-12-01 18:13:12 -05:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-12-01 18:13:12 -05:00
2014-08-21 23:30:09 -07:00
2014-12-01 18:13:12 -05:00
2014-09-13 03:20:43 -04:00
2014-09-18 22:55:06 -04:00
2014-09-18 22:55:06 -04:00
2014-08-21 19:33:02 -07:00
2013-05-09 11:37:51 -04:00
2014-08-21 23:30:09 -07:00
2014-09-09 16:03:24 -05:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 19:33:02 -07:00
2013-05-09 11:37:51 -04:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-12-01 18:13:12 -05:00
2013-05-09 11:37:51 -04:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 17:26:32 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 17:26:32 -07:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:13:16 -04:00
2014-08-21 23:30:09 -07:00
2014-08-21 23:30:09 -07:00
2014-08-21 19:33:02 -07:00
2014-08-21 23:30:09 -07:00
2014-11-26 17:23:04 -05:00
2014-09-11 03:14:34 -05:00
2014-12-01 18:13:12 -05:00
2013-05-09 11:37:51 -04:00
2014-11-02 22:43:08 -06:00
2014-08-21 23:30:09 -07:00