You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/game/client/swarm/c_asw_marine.h
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,18 @@
16
16
#include"asw_deathmatch_mode.h"
17
17
#include"dlight.h"
18
18
#include"rd_inventory_shared.h"
19
+
#ifdef CLIENT_DLL
20
+
#include<vector>
21
+
#include<list>
22
+
23
+
structTracePlayerMovement_t
24
+
{
25
+
float m_flTraceTime;
26
+
Vector m_vecPosition;
27
+
};
28
+
#endif
29
+
30
+
19
31
20
32
classC_ASW_Player;
21
33
classC_ASW_Marine_Resource;
@@ -293,6 +305,10 @@ class C_ASW_Marine : public C_ASW_VPhysics_NPC, public IASWPlayerAnimStateHelper
293
305
// emote system
294
306
voidTickEmotes( float d );
295
307
boolTickEmote( float d, int bit, float &fEmoteTime );
308
+
#ifdef CLIENT_DLL
309
+
voidTickTracePlayerMovement(float d);
310
+
std::list<TracePlayerMovement_t> m_lstTracePlayerMovementList = std::list<TracePlayerMovement_t>(); // list of positions and times for the last few frames
0 commit comments