Michael Cook (mackal)
dc0eb0f6b5
Merge branch 'master' into random
...
Conflicts:
zone/command.cpp
zone/merc.cpp
2014-12-02 14:05:55 -05:00
Arthur Ice
9d6a89c65d
rebind converted to xyz_location
2014-12-02 10:56:02 -08:00
Arthur Ice
7ce7af05f3
SetBindPoint converted to xyz_location
2014-12-02 10:47:46 -08:00
Michael Cook (mackal)
525eb518f6
Crash fix, this check got removed accidentally
2014-12-02 13:44:23 -05:00
Arthur Ice
2995b20d62
SaveCharacterBindPoint converted to xyz_heading
2014-12-02 10:29:35 -08:00
KayenEQ
70dd447156
Fix for error introduced in projectile update for throwing/archery
...
to do hit chance check 2x resulting in much greater chance to miss.
2014-12-02 03:42:35 -05:00
Arthur Ice
14608c972a
SetGraveyard to xyz_header
2014-12-01 23:34:41 -08:00
Arthur Ice
c3333a46c9
pgraveyard_x, pgraveyard_y, pgraveyard_z, and pgraveyard_heading converted to xyz_heading as m_Graveyard
2014-12-01 23:12:19 -08:00
Arthur Ice
40ec1f805f
psafe_x, psafe_y, and psafe_z replaced with xyz_location m_SafePoint
2014-12-01 22:35:46 -08:00
Trevius
52eb4d2d4e
Fixed Mercenary Depop Crash in Windows.
2014-12-02 00:07:09 -06:00
Trevius
24ea7a0d45
Mercenaries now spawn as the same Gender and Size of the Merchant they are purchased from.
...
Mercenaries now spawn with randomized facial features when purchased.
Setting a lastname for NPCs will now override any hard coded lastname (such as GM Trainers).
2014-12-01 19:54:01 -06:00
Arthur Ice
f5a94ed07b
IsSpellBlocked converted to use xyz_location
2014-12-01 16:00:48 -08:00
Arthur Ice
b06647b763
Zone::GetSpellBlockedMessage convered to use IsWithinAxisAlignedBox
2014-12-01 15:48:59 -08:00
Arthur Ice
feac1728dc
Added two axis aligned bounding box check functions
2014-12-01 15:39:53 -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
Arthur Ice
fb9d76f851
GetSpellBlockedMessage converted to xyz_location
2014-12-01 14:16:53 -08:00
Arthur Ice
81d2e7d242
xdiff, ydiff, and zdiff in ZoneSpellsBlocked converted to xyz_location m_Difference
2014-12-01 13:32:19 -08:00
Michael Cook (mackal)
a59cdc2c89
Merge pull request #304 from KayenEQ/Development
...
Implemented archery projectiles to do damage on impact.
2014-12-01 16:30:26 -05:00
Arthur Ice
2fe80d32f9
ZoneSpellsBlocked converted x,y, and z to m_Location as xyz_location
2014-12-01 13:05:40 -08:00
Arthur Ice
31d32682b0
ZoneDatabase::InsertDoor converted to xyz_heading
2014-12-01 12:30:07 -08:00
Arthur Ice
5af1998167
aa_los_them converted to xyz_location m_AutoAttackTargetLocation
2014-12-01 01:23:58 -08:00
Arthur Ice
f973d256dc
aa_los_me and aa_los_me_heading converted xyz_heading m_AutoAttackPosition
2014-12-01 01:19:18 -08:00
Arthur Ice
0a685d316d
zonesummon_x, zonesummon_y, and zonesummon_z converted to xyz_location m_ZoneSummonLocation
2014-12-01 00:26:35 -08:00
Arthur Ice
fb1d5842ea
proximity_x, proximity_y, and proximity_z converted to xyz_location m_Proximity
2014-12-01 00:03:59 -08:00
Arthur Ice
e31c95670a
EntityList::ProcessMove converted to xyz_location
2014-11-30 23:50:24 -08:00
Arthur Ice
54f3f7f343
EntityList::GetRandomClient converted to xyz_location
2014-11-30 22:28:17 -08:00
Arthur Ice
8b7a09dbc1
QuestMgr::movePCInstance converted to xyz_heading
2014-11-30 22:14:57 -08:00
Arthur Ice
c8063c31ed
QuestMgr::CreateObjectFromModel converted to xyz_heading
2014-11-30 22:05:34 -08:00
Arthur Ice
4c5117cabe
QuestManager::CreateGroundObject converted to xyz_heading
2014-11-30 21:42:59 -08:00
Arthur Ice
c3471ed88e
EntityList::CreateGroundObject converted to xyz_heading
2014-11-30 21:30:16 -08:00
Arthur Ice
d54215ea18
EntityList::CreateGroundObjectFromModel converted to to xyz_heading
2014-11-30 21:20:46 -08:00
Arthur Ice
4f03ebb3af
EntityList::CreateDoor converted to xyz_heading
2014-11-30 21:04:39 -08:00
Arthur Ice
7ac9a5c5a6
Doors constructor converted to xyz_heading
2014-11-30 20:49:48 -08:00
Arthur Ice
7239a1339e
Replaced SetX(), SetY(), SetZ(), and SetHeading() with SetPosition() on Doors
2014-11-30 20:37:43 -08:00
Arthur Ice
a70eadecf4
Replaced GetX(), GetY(), GetZ(), and GetHeading() in Doors with GetPosition()
2014-11-30 20:23:18 -08:00
Arthur Ice
40d26b5bcf
replaced GetDestX(), GetDestY(), GetDestZ(), and GetDestHeading() with GetDestination in Doors
2014-11-30 20:05:51 -08:00
Arthur Ice
95f7bd94f3
replaced dest_x, dest_y, dest_z, and dest_headingg in Doors with xyz_heading m_Destination
2014-11-30 19:58:56 -08:00
Arthur Ice
9f62f0e485
replaced pos_x, pos_y, pos_z, heading in Doors with xyz_heading m_Position
2014-11-30 19:47:49 -08:00
Arthur Ice
70d26a532c
SetPreSummonX(), SetPreSummonY(), and SetPreSummonZ() converted to SetPreSummonLocation()
2014-11-30 19:34:44 -08:00
Arthur Ice
98a8ddbb21
Replace GetPreSummonX(), GetPreSummonY(), GetPreSummonZ() with GetPreSummonLocation as xyz_location
2014-11-30 19:23:35 -08:00
Arthur Ice
381dc7574f
replaced _preSummonX, _preSummonY, and _preSummonZ in bot with xyz_location m_PreSummonlocation
2014-11-30 19:14:24 -08:00
Arthur Ice
6b1b083802
mob constructor converted to xyz_heading
2014-11-30 18:57:50 -08:00
Arthur Ice
708b4f3bfb
Horse constructor converted to xyz_heading
2014-11-30 18:33:45 -08:00
Akkadius
1054bfe476
command.cpp #include cleanup
...
command.h #include cleanup
command.h forward declarations
2014-11-30 20:32:00 -06:00
Arthur Ice
51d6ea622e
Switched to c++11 based abs instead of hacky custom version
2014-11-30 18:13:28 -08:00
Arthur Ice
2546c6c226
Trap converted to use xyz_location as m_Position instead of x, y, z
2014-11-30 18:10:50 -08:00
Arthur Ice
54bc1b06e4
NPC constructor converted to use xyz_heading
2014-11-30 17:32:11 -08:00
Arthur Ice
0570722b3b
MoveTo converted to xyz_heading
2014-11-30 16:30:09 -08:00
Arthur Ice
e6d23228e5
GetSpawnPointX(), GetSpawnPointY(), GetSpawnPointZ(), and GetSpawnPointH(), converted to GetSpawnPoint()
2014-11-30 15:58:44 -08:00
Michael Cook (mackal)
7198e670ae
Clang bots compile fix
2014-11-30 18:56:01 -05:00