MCPcopy Create free account
hub / github.com/ZDoom/Raze / C_AddTabCommand

Function C_AddTabCommand

source/common/console/c_tabcomplete.cpp:98–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void C_AddTabCommand (const char *name)
99{
100 int pos;
101
102 if (FindTabCommand (name, &pos, INT_MAX))
103 {
104 TabCommands[pos].UseCount++;
105 }
106 else
107 {
108 TabData tab(name);
109 TabCommands.Insert (pos, tab);
110 }
111}
112
113void C_RemoveTabCommand (const char *name)
114{

Callers 3

FConsoleCommandMethod · 0.85
FBaseCVarMethod · 0.85
AddButtonTabCommandsMethod · 0.85

Calls 2

FindTabCommandFunction · 0.85
InsertMethod · 0.45

Tested by

no test coverage detected