- Added A_SetCrosshair.
SVN r1700 (trunk)
This commit is contained in:
parent
9bf7c02194
commit
fe19767ac2
8 changed files with 75 additions and 30 deletions
|
|
@ -135,7 +135,6 @@ static const char *BaseFileSearch (const char *file, const char *ext, bool lookf
|
|||
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
|
||||
|
||||
EXTERN_CVAR (Float, turbo)
|
||||
EXTERN_CVAR (Int, crosshair)
|
||||
EXTERN_CVAR (Bool, freelook)
|
||||
EXTERN_CVAR (Float, m_pitch)
|
||||
EXTERN_CVAR (Float, m_yaw)
|
||||
|
|
@ -541,7 +540,7 @@ void D_Display ()
|
|||
// Refresh the console.
|
||||
C_NewModeAdjust ();
|
||||
// Reload crosshair if transitioned to a different size
|
||||
crosshair.Callback ();
|
||||
ST_LoadCrosshair (true);
|
||||
AM_NewResolution ();
|
||||
}
|
||||
}
|
||||
|
|
@ -1888,9 +1887,6 @@ void D_DoomMain (void)
|
|||
Printf ("Texman.Init: Init texture manager.\n");
|
||||
TexMan.Init();
|
||||
|
||||
// Now that all textues have been loaded the crosshair can be initialized.
|
||||
crosshair.Callback ();
|
||||
|
||||
// [CW] Parse any TEAMINFO lumps.
|
||||
Printf ("ParseTeamInfo: Load team definitions.\n");
|
||||
TeamLibrary.ParseTeamInfo ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue