mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
Some code cleanup.
This commit is contained in:
parent
d5f638b8c8
commit
65229fcf4e
32 changed files with 107 additions and 91 deletions
|
|
@ -601,10 +601,10 @@ class WorldObject : public Object
|
|||
float GetAngle(const WorldObject* obj) const;
|
||||
float GetAngle(const float x, const float y) const;
|
||||
bool HasInArc(const float arcangle, const WorldObject* obj) const;
|
||||
bool isInFrontInMap(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
bool isInBackInMap(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
bool isInFront(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
bool isInBack(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
bool IsInFrontInMap(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
bool IsInBackInMap(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
bool IsInFront(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
bool IsInBack(WorldObject const* target, float distance, float arc = M_PI) const;
|
||||
|
||||
virtual void CleanupsBeforeDelete(); // used in destructor or explicitly before mass creature delete to remove cross-references to already deleted units
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue