mirror of
https://github.com/mangosfour/server.git
synced 2025-12-23 16:37:03 +00:00
[0048] Enable SMSG_MONSTER_MOVE, CMSG_SET_SELECTION and send normalized orientation in update and movement packets for client to react normally.
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
This commit is contained in:
parent
f592231863
commit
cfae212258
9 changed files with 32 additions and 30 deletions
|
|
@ -30,6 +30,8 @@ Tokens StrSplit(const std::string& src, const std::string& sep);
|
|||
uint32 GetUInt32ValueFromArray(Tokens const& data, uint16 index);
|
||||
float GetFloatValueFromArray(Tokens const& data, uint16 index);
|
||||
|
||||
float NormalizeOrientation(float o);
|
||||
|
||||
void stripLineInvisibleChars(std::string& src);
|
||||
|
||||
std::string secsToTimeString(time_t timeInSecs, bool shortText = false, bool hoursOnly = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue