![]() |
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
| unsigned cmd_state_t::cmd_flagsmask |
| struct cvar_state_s* cmd_state_t::cvars |
| unsigned cmd_state_t::cvars_flagsmask |
| 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) |
| cmd_source_t cmd_state_t::source |
| cmd_userdefined_t* cmd_state_t::userdefined |