Update dvar list

This commit is contained in:
Federico Cecchetto 2022-01-03 19:04:42 +01:00
parent 567c2b5f4e
commit 5e0fb92c9d
4 changed files with 2097 additions and 1036 deletions

View File

@ -658,7 +658,7 @@ namespace game_console
for (const auto& dvar : dvars::dvar_list)
{
auto name = utils::string::to_lower(dvar);
if (match_compare(input, name, exact))
if (game::Dvar_FindVar(name.data()) && match_compare(input, name, exact))
{
suggestions.insert(dvar);
}

File diff suppressed because it is too large Load Diff

View File

@ -395,6 +395,7 @@ namespace game
dvar_value latched;
dvar_value reset;
dvar_limits domain;
char __pad0[0xC];
};
struct ScreenPlacement

View File

@ -154,7 +154,7 @@ namespace game
WEAK symbol<PlayerKeyState> playerKeys{0x1E8767C};
WEAK symbol<int> dvarCount{0xBFBB310};
WEAK symbol<dvar_t*> sortedDvars{0xBFBB320};
WEAK symbol<dvar_t> dvarPool{0xBFBB320};
WEAK symbol<unsigned int> levelEntityId{0xB5E0B30};
WEAK symbol<int> g_script_error_level{0xBA9CC24};