mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 04:15:36 +00:00
Made some tweaks so I'm happy with it.
* Removed #defines * Fall back to using visible distance if ghost distance is not used * Removed ghost distance from level files as it will default * Renamed mConnectionVisibleDistance for consistency
This commit is contained in:
parent
578c4e8f4f
commit
a928d142f7
15 changed files with 21 additions and 100 deletions
|
|
@ -39,8 +39,6 @@
|
|||
#include "core/bitVector.h"
|
||||
#endif
|
||||
|
||||
#include "torqueConfig.h"
|
||||
|
||||
enum GameConnectionConstants
|
||||
{
|
||||
MaxClients = 126,
|
||||
|
|
@ -74,9 +72,7 @@ private:
|
|||
|
||||
U32 mMissionCRC; // crc of the current mission file from the server
|
||||
|
||||
#ifdef GHOSTSCOPING
|
||||
F32 mConnectionVisibleDistance;
|
||||
#endif
|
||||
F32 mVisibleGhostDistance;
|
||||
|
||||
private:
|
||||
U32 mLastControlRequestTime;
|
||||
|
|
@ -161,10 +157,8 @@ public:
|
|||
|
||||
bool canRemoteCreate();
|
||||
|
||||
#ifdef GHOSTSCOPING
|
||||
void setVisibleGhostDistance(F32 dist);
|
||||
F32 getVisibleGhostDistance();
|
||||
#endif
|
||||
|
||||
private:
|
||||
/// @name Connection State
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue