Move around and do some changes to homebinding, thanks to Vladimir

* Adds support for spelltarget-positions
* Uses areaname instead of zonename on hearthstone
Add homebind animation to player, with cast from innkeeper

--HG--
branch : trunk
This commit is contained in:
click
2010-04-18 23:20:07 +02:00
parent f928c04734
commit fdd8d2f3cc
8 changed files with 123 additions and 53 deletions
+4 -2
View File
@@ -245,7 +245,7 @@ struct PlayerInfo
}
uint32 mapId;
uint32 zoneId;
uint32 areaId;
float positionX;
float positionY;
float positionZ;
@@ -2190,9 +2190,11 @@ class Player : public Unit, public GridObject<Player>
float m_recallO;
void SaveRecallPosition();
void SetHomebind(WorldLocation const& loc, uint32 area_id);
// Homebind coordinates
uint32 m_homebindMapId;
uint16 m_homebindZoneId;
uint16 m_homebindAreaId;
float m_homebindX;
float m_homebindY;
float m_homebindZ;