mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-06 18:18:23 +00:00
parent
36fea391de
commit
72b927a0a4
@ -55,9 +55,15 @@ public:
|
|||||||
mousedy = 0;
|
mousedy = 0;
|
||||||
|
|
||||||
hasbeenpredicted = false;
|
hasbeenpredicted = false;
|
||||||
|
|
||||||
#if defined( HL2_DLL ) || defined( HL2_CLIENT_DLL )
|
#if defined( HL2_DLL ) || defined( HL2_CLIENT_DLL )
|
||||||
entitygroundcontact.RemoveAll();
|
entitygroundcontact.RemoveAll();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// TrackIR
|
||||||
|
headangles.Init();
|
||||||
|
headoffset.Init();
|
||||||
|
// TrackIR
|
||||||
}
|
}
|
||||||
|
|
||||||
CUserCmd& operator =( const CUserCmd& src )
|
CUserCmd& operator =( const CUserCmd& src )
|
||||||
@ -85,6 +91,11 @@ public:
|
|||||||
entitygroundcontact = src.entitygroundcontact;
|
entitygroundcontact = src.entitygroundcontact;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// TrackIR
|
||||||
|
headangles = src.headangles;
|
||||||
|
headoffset = src.headoffset;
|
||||||
|
// TrackIR
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -152,6 +163,10 @@ public:
|
|||||||
CUtlVector< CEntityGroundContact > entitygroundcontact;
|
CUtlVector< CEntityGroundContact > entitygroundcontact;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// TrackIR
|
||||||
|
QAngle headangles;
|
||||||
|
Vector headoffset;
|
||||||
|
// TrackIR
|
||||||
};
|
};
|
||||||
|
|
||||||
void ReadUsercmd( bf_read *buf, CUserCmd *move, CUserCmd *from );
|
void ReadUsercmd( bf_read *buf, CUserCmd *move, CUserCmd *from );
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user