mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Hook up 'help' command callback
In-engine implementation has logging stripped.
This commit is contained in:
parent
dbdfdc2b3a
commit
f08fbc8745
@ -375,6 +375,7 @@ void ConCommand::InitShipped(void)
|
||||
{
|
||||
//-------------------------------------------------------------------------
|
||||
// ENGINE DLL |
|
||||
g_pCVar->FindCommand("help")->m_fnCommandCallback = CVHelp_f;
|
||||
g_pCVar->FindCommand("convar_list")->m_fnCommandCallback = CVList_f;
|
||||
g_pCVar->FindCommand("convar_differences")->m_fnCommandCallback = CVDiff_f;
|
||||
#ifndef DEDICATED
|
||||
|
@ -1054,6 +1054,19 @@ void BHit_f(const CCommand& args)
|
||||
#endif // !DEDICATED
|
||||
}
|
||||
|
||||
/*
|
||||
=====================
|
||||
CVHelp_f
|
||||
|
||||
Show help text for a
|
||||
particular convar/concommand
|
||||
=====================
|
||||
*/
|
||||
void CVHelp_f(const CCommand& args)
|
||||
{
|
||||
cv->CvarHelp(args);
|
||||
}
|
||||
|
||||
/*
|
||||
=====================
|
||||
CVList_f
|
||||
|
@ -53,6 +53,8 @@ void Sphere_f(const CCommand& args);
|
||||
void Capsule_f(const CCommand& args);
|
||||
#endif // !DEDICATED
|
||||
void BHit_f(const CCommand& args);
|
||||
|
||||
void CVHelp_f(const CCommand& args);
|
||||
void CVList_f(const CCommand& args);
|
||||
void CVDiff_f(const CCommand& args);
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user