Replaced HandleCharacterSet*() with HandleCharacterMovement()

This new method rolls three otherwise similar methods together. There is
still a conditional which handles room movements separately, but it's much
smoother, and PumpPacketProximity is utilized much more.

I've also added a stub for graphical attack data via
HandleCharacterAttack()
This commit is contained in:
Kayne Ruse
2015-01-13 02:04:48 +11:00
parent e752dd7b0f
commit 42662c3f61
3 changed files with 50 additions and 119 deletions
+2 -3
View File
@@ -101,9 +101,8 @@ private:
void HandleCharacterUnload(CharacterPacket* const);
//character movement
void HandleCharacterSetRoom(CharacterPacket* const);
void HandleCharacterSetOrigin(CharacterPacket* const);
void HandleCharacterSetMotion(CharacterPacket* const);
void HandleCharacterMovement(CharacterPacket* const);
void HandleCharacterAttack(CharacterPacket* const);
//utility methods
void PumpPacket(SerialPacket* const);