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

Method AddButtonTabCommands

source/common/console/c_buttons.cpp:249–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247//=============================================================================
248
249void ButtonMap::AddButtonTabCommands()
250{
251 // Add all the action commands for tab completion
252 for (auto& btn : NumToName)
253 {
254 char tname[16];
255 strcpy (&tname[1], btn.GetChars());
256 tname[0] = '+';
257 C_AddTabCommand (tname);
258 tname[0] = '-';
259 C_AddTabCommand (tname);
260 }
261}

Callers

nothing calls this directly

Calls 2

C_AddTabCommandFunction · 0.85
GetCharsMethod · 0.45

Tested by

no test coverage detected