mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Move console init to after vid/render init.
This commit is contained in:
parent
437ff888c0
commit
352eb5ece4
1 changed files with 12 additions and 11 deletions
|
@ -1183,6 +1183,18 @@ CL_Init (void)
|
||||||
IN_Init (cl_cbuf);
|
IN_Init (cl_cbuf);
|
||||||
Mod_Init ();
|
Mod_Init ();
|
||||||
R_Init ();
|
R_Init ();
|
||||||
|
|
||||||
|
PI_RegisterPlugins (client_plugin_list);
|
||||||
|
Con_Init ("client");
|
||||||
|
if (con_module) {
|
||||||
|
con_module->data->console->dl_name = cls.downloadname;
|
||||||
|
con_module->data->console->dl_percent = &cls.downloadpercent;
|
||||||
|
con_module->data->console->realtime = &con_realtime;
|
||||||
|
con_module->data->console->frametime = &con_frametime;
|
||||||
|
con_module->data->console->quit = CL_Quit_f;
|
||||||
|
con_module->data->console->cbuf = cl_cbuf;
|
||||||
|
}
|
||||||
|
|
||||||
S_Init (&viewentity, &host_frametime);
|
S_Init (&viewentity, &host_frametime);
|
||||||
CDAudio_Init ();
|
CDAudio_Init ();
|
||||||
|
|
||||||
|
@ -1802,17 +1814,6 @@ Host_Init (void)
|
||||||
CL_Cmd_Init ();
|
CL_Cmd_Init ();
|
||||||
Game_Init ();
|
Game_Init ();
|
||||||
|
|
||||||
PI_RegisterPlugins (client_plugin_list);
|
|
||||||
Con_Init ("client");
|
|
||||||
if (con_module) {
|
|
||||||
con_module->data->console->dl_name = cls.downloadname;
|
|
||||||
con_module->data->console->dl_percent = &cls.downloadpercent;
|
|
||||||
con_module->data->console->realtime = &con_realtime;
|
|
||||||
con_module->data->console->frametime = &con_frametime;
|
|
||||||
con_module->data->console->quit = CL_Quit_f;
|
|
||||||
con_module->data->console->cbuf = cl_cbuf;
|
|
||||||
}
|
|
||||||
|
|
||||||
NET_Init (cl_port->int_val);
|
NET_Init (cl_port->int_val);
|
||||||
Netchan_Init ();
|
Netchan_Init ();
|
||||||
net_realtime = &realtime;
|
net_realtime = &realtime;
|
||||||
|
|
Loading…
Reference in a new issue