mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
rename Chase_Init to Chase_Init_Cvars and shift the call.
Call SCR_UpdateScreen at the end of Host_Init so you're not stuck with a black screen during initial loading
This commit is contained in:
parent
5432983038
commit
0d573c6fcf
3 changed files with 5 additions and 3 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
extern cvar_t *chase_active;
|
||||
|
||||
void Chase_Init (void);
|
||||
void Chase_Init_Cvars (void);
|
||||
void Chase_Reset (void);
|
||||
void Chase_Update (void);
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ vec3_t chase_dest_angles;
|
|||
|
||||
|
||||
void
|
||||
Chase_Init (void)
|
||||
Chase_Init_Cvars (void)
|
||||
{
|
||||
chase_back = Cvar_Get ("chase_back", "100", CVAR_NONE, NULL, "None");
|
||||
chase_up = Cvar_Get ("chase_up", "16", CVAR_NONE, NULL, "None");
|
||||
|
|
|
@ -917,6 +917,7 @@ Host_Init (quakeparms_t *parms)
|
|||
Cmd_StuffCmds_f ();
|
||||
Cbuf_Execute_Sets ();
|
||||
|
||||
Chase_Init_Cvars ();
|
||||
CL_InitCvars ();
|
||||
IN_Init_Cvars ();
|
||||
VID_Init_Cvars ();
|
||||
|
@ -942,7 +943,6 @@ Host_Init (quakeparms_t *parms)
|
|||
|
||||
Game_Init ();
|
||||
|
||||
Chase_Init ();
|
||||
Host_InitVCR (parms);
|
||||
Host_InitLocal ();
|
||||
W_LoadWadFile ("gfx.wad");
|
||||
|
@ -999,6 +999,8 @@ Host_Init (quakeparms_t *parms)
|
|||
host_initialized = true;
|
||||
|
||||
Sys_Printf ("========Quake Initialized=========\n");
|
||||
|
||||
SCR_UpdateScreen ();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue