iw4x-client/src/Components/Modules/Movement.hpp

23 lines
639 B
C++
Raw Normal View History

2021-11-07 06:16:56 -05:00
#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();
2021-11-11 08:38:51 -05:00
static Game::dvar_t* Dvar_RegisterLastStandSpeedScale(const char* name, float defaultVal, float min, float max, int flags, const char* desc);
2021-11-07 06:16:56 -05:00
};
}