![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
command interpreter state - the tokenizing and execution of commands, as well as pointers to which cvars and aliases they can access More...
#include <cmd.h>
Data Fields | |
int | argc |
const char * | args |
const char * | argv [MAX_ARGS] |
cmd_buf_t * | cbuf |
unsigned | cmd_flagsmask |
cmd flags that identify this interpreter | |
const char * | cmdline |
struct cvar_state_s * | cvars |
which cvar system is this cmd state able to access? (&cvars_all or &cvars_null) | |
unsigned | cvars_flagsmask |
which CVAR_* flags should be visible to this interpreter? (CF_CLIENT | CF_SERVER, or just CF_SERVER) | |
cmd_function_t * | engine_functions |
qbool(* | Handle )(struct cmd_state_s *, struct cmd_function_s *, const char *, size_t, enum cmd_source_s) |
struct mempool_s * | mempool |
const char * | null_string |
cmd_source_t | source |
cmd_userdefined_t * | userdefined |
possible csqc functions and aliases to execute | |
command interpreter state - the tokenizing and execution of commands, as well as pointers to which cvars and aliases they can access
cmd_buf_t* cmd_state_t::cbuf |
Definition at line 137 of file cmd.h.
Referenced by Host_Error(), Host_Init(), and MVM_error_cmd().
unsigned cmd_state_t::cmd_flagsmask |
struct cvar_state_s* cmd_state_t::cvars |
unsigned cmd_state_t::cvars_flagsmask |
which CVAR_* flags should be visible to this interpreter? (CF_CLIENT | CF_SERVER, or just CF_SERVER)
Definition at line 144 of file cmd.h.
Referenced by Cvar_RegisterCallback(), Cvar_RegisterVariable(), and Cvar_RegisterVirtual().
cmd_function_t* cmd_state_t::engine_functions |
qbool(* cmd_state_t::Handle) (struct cmd_state_s *, struct cmd_function_s *, const char *, size_t, enum cmd_source_s) |
Definition at line 147 of file cmd.h.
Referenced by Cmd_Init().
struct mempool_s* cmd_state_t::mempool |
Definition at line 128 of file cmd.h.
Referenced by Cmd_AddInterpreter().
cmd_source_t cmd_state_t::source |
cmd_userdefined_t* cmd_state_t::userdefined |