Merge pull request #141 from diamante0018/feature/custom-stance-scale

[Movement] Add customizable speed scale for stance
This commit is contained in:
Dss0
2021-11-11 17:55:52 +01:00
committed by GitHub
5 changed files with 217 additions and 1 deletions

View File

@ -109,7 +109,7 @@ namespace Game
IMG_CATEGORY_WATER = 0x5,
IMG_CATEGORY_RENDERTARGET = 0x6,
IMG_CATEGORY_TEMP = 0x7,
} ;
};
enum buttons_t
{
@ -6876,6 +6876,37 @@ namespace Game
const char* args[9];
};
struct pmove_s
{
playerState_s* ps;
usercmd_s cmd;
usercmd_s oldcmd;
int tracemask;
int numtouch;
int touchents[32];
char __pad0[24];
float xyspeed;
int proneChange;
float maxSprintTimeMultiplier;
bool mantleStarted;
float mantleEndPos[3];
int mantleDuration;
int viewChangeTime;
float viewChange;
float fTorsoPitch;
float fWaistPitch;
unsigned char handler;
};
enum EffectiveStance
{
PM_EFF_STANCE_DEFAULT = 0,
PM_EFF_STANCE_PRONE = 1,
PM_EFF_STANCE_DUCKED = 2,
PM_EFF_STANCE_LASTSTANDCRAWL = 3,
PM_EFF_STANCE_COUNT = 4
};
#pragma endregion
#ifndef IDA