Results for console tab-completion are now color-coded. CCMDs appear blue, CVars green and aliases red.

This commit is contained in:
slatenails 2013-07-28 14:58:30 +03:00
commit 48a29b769f
3 changed files with 20 additions and 1 deletions

View file

@ -955,6 +955,11 @@ bool FConsoleCommand::AddToHash (FConsoleCommand **table)
return true;
}
FConsoleCommand* FConsoleCommand::FindByName (const char* name)
{
return FindNameInHashTable (Commands, name, strlen (name));
}
FConsoleCommand::FConsoleCommand (const char *name, CCmdRun runFunc)
: m_RunFunc (runFunc)
{