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