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

45 lines
1.2 KiB
C++
Raw Normal View History

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:
static void SelectStringTableEntryInDvarStub();
2017-07-12 17:39:40 -04:00
static int SVCanReplaceServerCommand(Game::client_t *client, const char *cmd);
static int G_GetClientScore();
2017-07-12 17:39:40 -04:00
2017-01-19 16:23:59 -05:00
static int MsgReadBitsCompressCheckSV(const char *from, char *to, int size);
static int MsgReadBitsCompressCheckCL(const char *from, char *to, int size);
static long AtolAdjustPlayerLimit(const char* string);
static void JavelinResetHookStub();
2021-11-10 14:48:00 -05:00
static bool InvalidNameCheck(char* dest, const char* source, int size);
2019-01-20 18:44:49 -05:00
static void InvalidNameStub();
2021-11-10 14:48:00 -05:00
static Dvar::Var r_customAspectRatio;
static Game::dvar_t* Dvar_RegisterAspectRatioDvar(const char* dvarName, const char** valueList, int defaultIndex, unsigned __int16 flags, const char* description);
2019-01-22 19:36:31 -05:00
static void SetAspectRatioStub();
static void SetAspectRatio();
2020-12-22 23:15:48 -05:00
static Game::dvar_t* g_antilag;
static void ClientEventsFireWeaponStub();
static void ClientEventsFireWeaponMeleeStub();
static BOOL IsDynClassnameStub(char* a1);
static void CL_KeyEvent_OnEscape();
static void CL_KeyEvent_ConsoleEscape_Stub();
2017-01-19 16:23:59 -05:00
};
}