slipher · GitHub

Merged

Merged

Conversation

@slipher slipher changed the title Cmdflags Set engine command flags

Jan 18, 2025

DolceTriade

return *Cmd::GetEnv();
}

#ifndef BUILD_ENGINE

VReaperV

Commands can have flags such as 'BASE' or 'RENDERER' which determine the
command listing commands that they appear in. If a command has no flags
at all, it does not appear in /listCmds, which seems bad. So I disabled
the two-argument StaticCmd constructor without flags in the engine, and
defined flags for all the commands using it.
Also I changed the set of available flags a bit. Nuked SYSTEM because
it is too vague, and added SERVER and CLIENT.

@slipher

DolceTriade

@slipher

@slipher

Labels

None yet

Read the original on github.com ↗