Donetsk/hook_lib/dvar.h
Sku-111 7db48e99cf added debug_output, update for weapefs, enabled jump_height dvar
update for custom weapondef loading/dumping by jydenx
added debug_output with print_debug dvar by staturnz
enabled functionality for jump_height dvar
2023-11-04 22:35:37 +01:00

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();