8 Commits

Author SHA1 Message Date
Michael Cook (mackal)
64be231fe6 clang-modernize -use-auto convert for world/adventure_manager.cpp 2015-01-09 03:05:13 -05:00
Michael Cook (mackal)
4f643c7201 Range-based for for world/adventure_manager.cpp 2015-01-08 22:01:02 -05:00
Akkadius
be381b4e56 Renamed EQEMuLog class to EQEmuLog 2015-01-08 19:46:28 -06:00
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
akkadius
54c89d69f6 Merge remote-tracking branch 'remotes/origin/master' into blob_conversion
Conflicts:
	common/database.cpp
	common/mysql_request_result.h
	common/shareddb.cpp
2014-09-07 04:11:09 -05:00
Akkadius
4c12d31e4a Removed command character backup
Changed all remaining references from the character_ table to the character_data
2014-09-06 22:35:19 -05:00
Michael Cook (mackal)
8422178233 Fix issue with requesting an adventure 2014-09-01 02:58:52 -04:00
KimLS
4821ed79fb More renames, world should be done 2014-08-21 23:30:09 -07:00