7db48e99cf
update for custom weapondef loading/dumping by jydenx added debug_output with print_debug dvar by staturnz enabled functionality for jump_height dvar
15 lines
515 B
C
15 lines
515 B
C
#pragma once
|
|
#include "Main.hpp"
|
|
|
|
void addCustomDvars();
|
|
|
|
inline utils::hook::detour dvar_registerbool;
|
|
dvar_t* Dvar_RegisterBool_Detour(const char* dvarName, bool value, unsigned int flags, const char* description);
|
|
|
|
inline utils::hook::detour dvar_registerstring;
|
|
dvar_t* Dvar_RegisterString_Detour(const char* dvarName, const char* value, unsigned int flags, const char* description);
|
|
|
|
inline utils::hook::detour dvar_findvarbyname;
|
|
dvar_t* Dvar_FindVarByName_Detour(const char* dvarName);
|
|
|
|
bool CheatsEnabled(); |