- replace a few constant values with GL macros in tr_cmds.c
- tidy up top of tr_types.h a bit, change flags to hex representation - make ROM cvar enforcing really work - remove cg_stereoSeparation from cgame as it is obsolete. - Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled
This commit is contained in:
parent
65938da5ae
commit
10ed996784
10 changed files with 173 additions and 89 deletions
|
@ -2743,6 +2743,8 @@ void CL_Init( void ) {
|
|||
|
||||
// cgame might not be initialized before menu is used
|
||||
Cvar_Get ("cg_viewsize", "100", CVAR_ARCHIVE );
|
||||
// Make sure cg_stereoSeparation is zero as that variable is deprecated and should not be used anymore.
|
||||
Cvar_Get ("cg_stereoSeparation", "0", CVAR_ROM);
|
||||
|
||||
//
|
||||
// register our commands
|
||||
|
|
|
@ -474,7 +474,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
|
|||
case CA_LOADING:
|
||||
case CA_PRIMED:
|
||||
// draw the game information screen and loading progress
|
||||
CL_CGameRendering(STEREO_CENTER);
|
||||
CL_CGameRendering(stereoFrame);
|
||||
|
||||
// also draw the connection information, so it doesn't
|
||||
// flash away too briefly on local or lan games
|
||||
|
@ -484,7 +484,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
|
|||
break;
|
||||
case CA_ACTIVE:
|
||||
// always supply STEREO_CENTER as vieworg offset is now done by the engine.
|
||||
CL_CGameRendering(STEREO_CENTER);
|
||||
CL_CGameRendering(stereoFrame);
|
||||
SCR_DrawDemoRecording();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue