mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
ExtendedMove class and support
The ExtendedMove class can optionally replace the standard Move class to allow the passing of absolute position and rotation information from the client's input device to the server. It is enabled by changing $TORQUE_EXTENDED_MOVE to true in buildFiles/config/project.conf and re-running the project generator.
This commit is contained in:
parent
404cffc11a
commit
35374f939e
15 changed files with 1262 additions and 27 deletions
|
|
@ -41,6 +41,8 @@
|
|||
|
||||
#ifdef TORQUE_HIFI_NET
|
||||
#include "T3D/gameBase/hifi/hifiMoveList.h"
|
||||
#elif defined TORQUE_EXTENDED_MOVE
|
||||
#include "T3D/gameBase/extended/extendedMoveList.h"
|
||||
#else
|
||||
#include "T3D/gameBase/std/stdMoveList.h"
|
||||
#endif
|
||||
|
|
@ -175,6 +177,8 @@ GameConnection::GameConnection()
|
|||
|
||||
#ifdef TORQUE_HIFI_NET
|
||||
mMoveList = new HifiMoveList();
|
||||
#elif defined TORQUE_EXTENDED_MOVE
|
||||
mMoveList = new ExtendedMoveList();
|
||||
#else
|
||||
mMoveList = new StdMoveList();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue