-
Notifications
You must be signed in to change notification settings - Fork 0
/
c_movehelper.h
35 lines (30 loc) · 1.02 KB
/
c_movehelper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
class IMoveHelper
{
public:
virtual void _vpad() = 0;
virtual void SetHost(IBasePlayer* host) = 0;
private:
virtual void pad00() = 0;
virtual void pad01() = 0;
public:
virtual void ProcessImpacts() = 0;
};
class CMoveData;
class CGameMovement
{
public:
virtual ~CGameMovement(void) {}
virtual void ProcessMovement(IBasePlayer *pPlayer, CMoveData *pMove) = 0;
virtual void Reset(void) = 0;
virtual void StartTrackPredictionErrors(IBasePlayer *pPlayer) = 0;
virtual void FinishTrackPredictionErrors(IBasePlayer *pPlayer) = 0;
virtual void DiffPrint(char const *fmt, ...) = 0;
virtual Vector const& GetPlayerMins(bool ducked) const = 0;
virtual Vector const& GetPlayerMaxs(bool ducked) const = 0;
virtual Vector const& GetPlayerViewOffset(bool ducked) const = 0;
virtual bool IsMovingPlayerStuck(void) const = 0;
virtual IBasePlayer* GetMovingPlayer(void) const = 0;
virtual void UnblockPusher(IBasePlayer* pPlayer, IBasePlayer *pPusher) = 0;
virtual void SetupMovementBounds(CMoveData *pMove) = 0;
};