21 lines
488 B
C++
21 lines
488 B
C++
|
#pragma once
|
||
|
|
||
|
namespace Components
|
||
|
{
|
||
|
class Movement : public Component
|
||
|
{
|
||
|
public:
|
||
|
Movement();
|
||
|
~Movement();
|
||
|
|
||
|
private:
|
||
|
static Dvar::Var PlayerDuckedSpeedScale;
|
||
|
static Dvar::Var PlayerLastStandCrawlSpeedScale;
|
||
|
static Dvar::Var PlayerProneSpeedScale;
|
||
|
|
||
|
static int PMGetEffectiveStance(Game::playerState_s* ps);
|
||
|
static float PMCmdScaleForStance(Game::pmove_s* move);
|
||
|
static void PMCmdScaleForStanceStub();
|
||
|
};
|
||
|
}
|