|
|
@ -27,10 +27,10 @@ class CCollisionService : public NLNET::IService
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
struct CEntity
|
|
|
|
struct CEntity
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CEntity() : NewClientPosition(), OldClientPosition(), MovePrimitive(NULL), Moving(false), Retry(false) { }
|
|
|
|
CEntity() : OldClientPosition(), NewClientPosition(), MovePrimitive(NULL), Distance(0.0f), Moving(false), Retry(false) { }
|
|
|
|
NLMISC::CVector OldClientPosition;
|
|
|
|
NLMISC::CVector OldClientPosition;
|
|
|
|
NLMISC::CVector NewClientPosition;
|
|
|
|
NLMISC::CVector NewClientPosition;
|
|
|
|
NLPACS::UMovePrimitive *MovePrimitive; // ServerPösition
|
|
|
|
NLPACS::UMovePrimitive *MovePrimitive; // ServerPosition
|
|
|
|
float Distance;
|
|
|
|
float Distance;
|
|
|
|
bool Moving;
|
|
|
|
bool Moving;
|
|
|
|
bool Retry;
|
|
|
|
bool Retry;
|
|
|
|