Rename ConVar to make more sense + cleanup

This commit is contained in:
Amos 2022-01-20 00:59:31 +01:00
parent 3017454dba
commit 7419720f78
3 changed files with 3 additions and 6 deletions

View File

@ -80,7 +80,7 @@ void ConVar::Init(void)
con_suggestion_helptext = new ConVar("con_suggestion_helptext", "0", FCVAR_DEVELOPMENTONLY, "Show ConVar help text in autocomplete window. Disabled by default to keep window less populated.", false, 0.f, false, 0.f, nullptr, nullptr);
//-------------------------------------------------------------------------
// FILESYSTEM |
fs_warning_level_native = new ConVar("fs_warning_level_native", "0", FCVAR_DEVELOPMENTONLY, "Set the filesystem warning level.", false, 0.f, false, 0.f, nullptr, nullptr);
fs_warning_level_sdk = new ConVar("fs_warning_level_sdk", "0", FCVAR_DEVELOPMENTONLY, "Set the SDK filesystem warning level.", false, 0.f, false, 0.f, nullptr, nullptr);
fs_show_warning_output = new ConVar("fs_show_warning_output", "0", FCVAR_DEVELOPMENTONLY, "Logs the filesystem warnings to the console, filtered by 'fs_warning_level_native' ( !slower! ).", false, 0.f, false, 0.f, nullptr, nullptr);
fs_packedstore_entryblock_stats = new ConVar("fs_packedstore_entryblock_stats", "0", FCVAR_DEVELOPMENTONLY, "If set to 1, prints the stats of each file entry in the VPK during decompression ( !slower! ).", false, 0.f, false, 0.f, nullptr, nullptr);
//-------------------------------------------------------------------------

View File

@ -36,7 +36,7 @@ ConVar* con_suggestion_limit = new ConVar();
ConVar* con_suggestion_helptext = new ConVar();
//-----------------------------------------------------------------------------
// FILESYSTEM |
ConVar* fs_warning_level_native = new ConVar();
ConVar* fs_warning_level_sdk = new ConVar();
ConVar* fs_show_warning_output = new ConVar();
ConVar* fs_packedstore_entryblock_stats = new ConVar();
//-----------------------------------------------------------------------------

View File

@ -48,7 +48,7 @@ extern ConVar* con_suggestion_limit;
extern ConVar* con_suggestion_helptext;
//-------------------------------------------------------------------------
// FILESYSTEM |
extern ConVar* fs_warning_level_native;
extern ConVar* fs_warning_level_sdk;
extern ConVar* fs_show_warning_output;
extern ConVar* fs_packedstore_entryblock_stats;
//-------------------------------------------------------------------------
@ -66,9 +66,6 @@ extern ConVar* net_userandomkey;
extern ConVar* r5net_matchmaking_hostname;
extern ConVar* r5net_show_debug;
extern ConVar* test_color_test;
class CCVarIteratorInternal // Fully reversed table, just look at the virtual function table and rename the function.
{
public: