mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 05:31:07 +03:00
Compare commits
1 Commits
0ce6b5bf8b
...
e6f861d5d2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6f861d5d2 |
@ -1 +1 @@
|
||||
Subproject commit c6ee931690f71362ab76602fb6f34a6cf23d12b8
|
||||
Subproject commit 489f2149b74b2ca8302ec1cbcec9c6250057f7a1
|
||||
@ -111,10 +111,6 @@ C3Vector CGObject_C::GetPosition() const {
|
||||
return { 0.0f, 0.0f, 0.0f };
|
||||
}
|
||||
|
||||
float CGObject_C::GetRawFacing() const {
|
||||
return this->GetFacing();
|
||||
}
|
||||
|
||||
WOWGUID CGObject_C::GetTransportGUID() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -39,7 +39,6 @@ class CGObject_C : public CGObject, public TSHashObject<CGObject_C, CHashKeyGUID
|
||||
virtual C3Vector GetPosition() const;
|
||||
// TODO
|
||||
virtual float GetFacing() const;
|
||||
virtual float GetRawFacing() const;
|
||||
// TODO
|
||||
virtual WOWGUID GetTransportGUID() const;
|
||||
// TODO
|
||||
|
||||
@ -42,10 +42,6 @@ C3Vector CGUnit::GetPosition() const {
|
||||
return this->m_move->GetPosition();
|
||||
}
|
||||
|
||||
float CGUnit::GetRawFacing() const {
|
||||
return this->m_move->GetRawFacing();
|
||||
}
|
||||
|
||||
CGUnitData* CGUnit::Unit() const {
|
||||
return this->m_unit;
|
||||
}
|
||||
|
||||
@ -92,7 +92,6 @@ class CGUnit {
|
||||
float GetFacing() const;
|
||||
int32_t GetNativeDisplayID() const;
|
||||
C3Vector GetPosition() const;
|
||||
float GetRawFacing() const;
|
||||
|
||||
protected:
|
||||
// Protected member variables
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
#include "object/client/CGUnit_C.hpp"
|
||||
#include "component/CCharacterComponent.hpp"
|
||||
#include "db/Db.hpp"
|
||||
#include "model/Model2.hpp"
|
||||
#include "object/client/ObjMgr.hpp"
|
||||
#include "db/Db.hpp"
|
||||
#include "ui/Game.hpp"
|
||||
#include <storm/Error.hpp>
|
||||
#include <tempest/Math.hpp>
|
||||
|
||||
WOWGUID CGUnit_C::s_activeMover;
|
||||
|
||||
@ -184,10 +183,6 @@ C3Vector CGUnit_C::GetPosition() const {
|
||||
return this->CGUnit::GetPosition();
|
||||
}
|
||||
|
||||
float CGUnit_C::GetRawFacing() const {
|
||||
return this->CGUnit::GetRawFacing();
|
||||
}
|
||||
|
||||
float CGUnit_C::GetRawSmoothFacing() const {
|
||||
return this->m_smoothFacing;
|
||||
}
|
||||
@ -213,10 +208,6 @@ void CGUnit_C::PostInit(uint32_t time, const CClientObjCreate& init, bool a4) {
|
||||
}
|
||||
|
||||
// TODO
|
||||
|
||||
this->m_smoothFacing = CMath::normalizeangle0to2pi(this->GetRawFacing());
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGUnit_C::PostMovementUpdate(const CClientMoveUpdate& move, int32_t activeMover) {
|
||||
|
||||
@ -31,7 +31,6 @@ class CGUnit_C : public CGObject_C, public CGUnit {
|
||||
virtual C3Vector GetPosition() const;
|
||||
// TODO
|
||||
virtual float GetFacing() const;
|
||||
virtual float GetRawFacing() const;
|
||||
// TODO
|
||||
virtual WOWGUID GetTransportGUID() const;
|
||||
// TODO
|
||||
|
||||
@ -33,10 +33,6 @@ C3Vector CPassenger::GetPosition(const C3Vector& position) const {
|
||||
return position;
|
||||
}
|
||||
|
||||
float CPassenger::GetRawFacing() const {
|
||||
return this->m_facing;
|
||||
}
|
||||
|
||||
WOWGUID CPassenger::GetTransportGUID() const {
|
||||
return this->m_transportGUID;
|
||||
}
|
||||
|
||||
@ -16,7 +16,6 @@ class CPassenger {
|
||||
float GetFacing(float facing) const;
|
||||
C3Vector GetPosition() const;
|
||||
C3Vector GetPosition(const C3Vector& position) const;
|
||||
float GetRawFacing() const;
|
||||
WOWGUID GetTransportGUID() const;
|
||||
|
||||
protected:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user