2017-01-20 14:36:52 +01:00
|
|
|
#pragma once
|
|
|
|
|
2017-01-19 22:23:59 +01:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class QuickPatch : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QuickPatch();
|
|
|
|
|
2017-01-20 14:36:52 +01:00
|
|
|
bool unitTest() override;
|
2017-01-19 22:23:59 +01:00
|
|
|
|
|
|
|
static void UnlockStats();
|
|
|
|
|
|
|
|
private:
|
2023-01-11 19:37:35 +00:00
|
|
|
static Dvar::Var UIMousePitch;
|
|
|
|
|
2021-11-10 19:48:00 +00:00
|
|
|
static Dvar::Var r_customAspectRatio;
|
2022-03-08 12:20:28 +00:00
|
|
|
static Game::dvar_t* Dvar_RegisterAspectRatioDvar(const char* dvarName, const char** valueList, int defaultIndex, unsigned __int16 flags, const char* description);
|
2022-08-03 18:27:07 +02:00
|
|
|
static void SetAspectRatio_Stub();
|
2019-01-23 01:36:31 +01:00
|
|
|
static void SetAspectRatio();
|
2020-07-23 06:37:04 +03:00
|
|
|
|
2020-12-22 22:15:48 -06:00
|
|
|
static Game::dvar_t* g_antilag;
|
2022-08-03 18:27:07 +02:00
|
|
|
static void ClientEventsFireWeapon_Stub();
|
|
|
|
static void ClientEventsFireWeaponMelee_Stub();
|
2020-12-22 22:15:48 -06:00
|
|
|
|
2022-08-03 18:27:07 +02:00
|
|
|
static BOOL IsDynClassname_Stub(const char* classname);
|
2021-09-21 22:04:19 +02:00
|
|
|
|
|
|
|
static void CL_KeyEvent_OnEscape();
|
|
|
|
static void CL_KeyEvent_ConsoleEscape_Stub();
|
2022-06-04 19:07:45 +02:00
|
|
|
|
2022-08-01 16:30:31 +02:00
|
|
|
static void R_AddImageToList_Hk(Game::XAssetHeader header, void* data);
|
|
|
|
|
2022-08-02 13:24:22 +02:00
|
|
|
static void Sys_SpawnQuitProcess_Hk();
|
|
|
|
|
2022-08-03 18:27:07 +02:00
|
|
|
static void SND_GetAliasOffset_Stub();
|
|
|
|
|
2022-06-04 19:07:45 +02:00
|
|
|
static Game::dvar_t* Dvar_RegisterConMinicon(const char* dvarName, bool value, unsigned __int16 flags, const char* description);
|
2017-01-19 22:23:59 +01:00
|
|
|
};
|
|
|
|
}
|