diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-05-01 14:56:57 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-05-01 14:56:57 +0000 |
commit | b863dd098c133889a2c66b60218306e2b3b81fb4 (patch) | |
tree | 353a5737cc8fd3d3b22e8fc54217ad960e404186 /code/client | |
parent | e02f31a31c7cf4bccb2bbaaf5cbc0565be173552 (diff) | |
download | ioquake3-aero-b863dd098c133889a2c66b60218306e2b3b81fb4.tar.gz ioquake3-aero-b863dd098c133889a2c66b60218306e2b3b81fb4.zip |
- 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
git-svn-id: svn://svn.icculus.org/quake3/trunk@1335 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/cl_main.c | 2 | ||||
-rw-r--r-- | code/client/cl_scrn.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c index ef50e0b..d130620 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -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 diff --git a/code/client/cl_scrn.c b/code/client/cl_scrn.c index 3172f3d..fd4c38b 100644 --- a/code/client/cl_scrn.c +++ b/code/client/cl_scrn.c @@ -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; } |