KimLS
269d56e1d0
Switched out our kinda juryrigged vector types for glm::vec types since we use that as a 3d math library already but never switched out the types
2015-01-23 00:01:10 -08:00
Arthur Ice
4abe2fc6ff
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
2015-01-18 02:03:44 -08:00
Arthur Ice
1303a297c0
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
2015-01-17 18:26:14 -08: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
KimLS
7fc21b9e3a
Tons of renames
2014-08-21 19:33:02 -07:00
Michael Cook (mackal)
4216627604
Prefer prefix ++/-- on non-primitive types
...
Postfix ++/-- might cause the creation of a tmp instance
that might be optimized out. Mights are bad. Prefix doesn't
have this problem.
2014-01-13 22:14:02 -05:00
Uleat
cab77e83da
High level debug (12) compile failure fix - I searched for as many as I could find with GrepWin, so there may be a few out there still
2013-10-27 03:13:10 -04:00
badcaptain
809925dc3e
Bots- added out of combat bard songs & #bot bardoutofcombat on|off command to turn them on/off.
2013-10-12 00:47:15 -04:00
badcaptain
765f23febc
Initial check-in of bard bot in combat song code.
2013-10-11 23:37:46 -04:00
KimLS
fcd9b525a8
Removed Common Profiler and Zone Profiler. They're well past outdated status and are just code bloat.
2013-08-29 15:46:40 -07:00
KimLS
63d678ce29
Replaced npcspecialatk with special_attacks, needs more testing also gotta export new api for it as I can't remove the legacy one. Too many quests rely on the legacy functionality.
2013-07-06 03:45:06 -07:00
Arthur Ice
5255c236c3
added std:: to a lot of locations which where
...
missed and added NOMINMAX to cmakelist
2013-05-22 23:55:49 -07:00
Arthur Ice
f1a487f606
Merge branch 'master' into StringFormatting.
...
Cleaned up the problems. Tested on Linux. Still need to test on windows.
Conflicts:
common/CMakeLists.txt
common/MiscFunctions.cpp
common/MiscFunctions.h
common/debug.cpp
world/Adventure.cpp
2013-05-19 18:56:21 -07:00
Arthur Ice
373ff66240
moved string functions from MiscFunctions to StringUtil
2013-05-11 00:05:11 -07:00
j883376
4bdd8b2502
Change space indentation to tabs
2013-05-09 11:37:51 -04:00
j883376
ffcff4aea1
Remove trailing whitespace
2013-05-09 11:13:16 -04:00
badcaptain
e2f25d1c92
Fixed a couple of merc stat issues and a few bot aggro issues, removed unneeded bot pet AI.
2013-04-25 00:42:52 -04:00
KimLS
da7347f76f
svn -> git Migration
2013-02-16 16:14:39 -08:00