forgot those
This commit is contained in:
parent
2c59d8a646
commit
27be3db50c
@ -179,7 +179,7 @@ namespace gameplay
|
||||
|
||||
// If g_enableElevators is 1 the 'ducked' flag will always be removed from the player state
|
||||
utils::hook::jump(0x1401E1CD1, utils::hook::assemble(pm_trace_stub), true);
|
||||
dvars::g_enableElevators = dvars::register_bool("g_enableElevators", false, game::DvarFlags::DVAR_FLAG_NONE, "");
|
||||
dvars::g_enableElevators = dvars::register_bool("g_enableElevators", false, game::DvarFlags::DVAR_FLAG_NONE, "Enables Elevators");
|
||||
#endif
|
||||
|
||||
auto* timescale = dvars::register_float("timescale", 1.0f, 0.1f, 50.0f, game::DVAR_FLAG_REPLICATED, "Changes Timescale of the game");
|
||||
|
@ -24,6 +24,7 @@ namespace dvars
|
||||
game::dvar_t* g_playerEjection = nullptr;
|
||||
game::dvar_t* g_playerCollision = nullptr;
|
||||
game::dvar_t* player_sustainAmmo = nullptr;
|
||||
game::dvar_t* g_enableElevators = nullptr;
|
||||
|
||||
game::dvar_t* jump_enableFallDamage;
|
||||
|
||||
|
@ -27,6 +27,7 @@ namespace dvars
|
||||
extern game::dvar_t* g_playerEjection;
|
||||
extern game::dvar_t* g_playerCollision;
|
||||
extern game::dvar_t* player_sustainAmmo;
|
||||
extern game::dvar_t* g_enableElevators;
|
||||
|
||||
extern game::dvar_t* jump_enableFallDamage;
|
||||
|
||||
|
@ -1430,6 +1430,9 @@ namespace game
|
||||
|
||||
struct trace_t
|
||||
{
|
||||
char __pad0[41];
|
||||
bool allsolid;
|
||||
bool startsolid;
|
||||
};
|
||||
|
||||
struct Bounds
|
||||
@ -1438,6 +1441,10 @@ namespace game
|
||||
float halfSize[3];
|
||||
};
|
||||
|
||||
struct pmove_t
|
||||
{
|
||||
};
|
||||
|
||||
enum PlayerHandIndex
|
||||
{
|
||||
WEAPON_HAND_DEFAULT = 0x0,
|
||||
|
Loading…
Reference in New Issue
Block a user