PDA

Просмотр полной версии : [11529] Pack and send to client all gameobject's quaternion components which allows place gameobject


newsbot
24.05.2011, 04:51
автор: SilverIce


<pre>m sql/mangos.sql
+ sql/updates/11529_01_mangos_command.sql
m src/game/GameObject.cpp
m src/game/GameObject.h
m src/game/Level2.cpp
m src/game/Object.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11529] Pack and send to client all gameobject's quaternion components which allows place gameobjects cornerwise.

Update '.gobject turn' command, now you have to specify 3 rotations to turn gameobject: rotation angles around z, y and x axes.
Note to DB devs: use QuaternionCompressed::Unpack to extract rotations from the data that came with UPDATEFLAG_ROTATION.</pre>




Дальше... (https://github.com/mangos/mangos/commit/2bcbc0fbfe63fab389e4f4f875ac215852bff8b6)