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:
DavidWyand-GG 2013-01-23 01:52:46 -05:00
parent 404cffc11a
commit 35374f939e
15 changed files with 1262 additions and 27 deletions

View file

@ -60,11 +60,17 @@ addEngineSrcDir('T3D/gameBase');
addEngineSrcDir('T3D/turret');
global $TORQUE_HIFI_NET;
global $TORQUE_EXTENDED_MOVE;
if ( $TORQUE_HIFI_NET == true )
{
addProjectDefines( 'TORQUE_HIFI_NET' );
addEngineSrcDir('T3D/gameBase/hifi');
}
elseif ( $TORQUE_EXTENDED_MOVE == true )
{
addProjectDefines( 'TORQUE_EXTENDED_MOVE' );
addEngineSrcDir('T3D/gameBase/extended');
}
else
addEngineSrcDir('T3D/gameBase/std');