git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12710
d7cf8633-e32d-0410-b094-
e92efae38249
cmd_serverfromclient.cvars_flagsmask = 0;
cmd_serverfromclient.cmd_flags = CMD_SERVER_FROM_CLIENT;
cmd_serverfromclient.userdefined = &cmd_userdefined_null;
-}
-void Cmd_Init_Commands(qboolean dedicated_server)
-{
//
// register our commands
//
void Cbuf_Lock(cmd_state_t *cmd);
void Cbuf_Unlock(cmd_state_t *cmd);
-void Cmd_Init_Commands(qboolean dedicated_server);
-
/*! as new commands are generated from the console or keybindings,
* the text is added to the end of the command buffer.
*/
int i;
const char* os;
char vabuf[1024];
- qboolean dedicated_server = COM_CheckParm("-dedicated") || !cl_available;
cmd_state_t *cmd = &cmd_client;
host.state = host_init;
// initialize console command/cvar/alias/command execution systems
Cmd_Init();
- Cmd_Init_Commands(dedicated_server);
-
// initialize memory subsystem cvars/commands
Memory_Init_Commands();