- Joined
- May 8, 2013
- Messages
- 574
- Reaction score
- 573
learn to use the search
void TPSGameHUD :: SetCameraPure ( r3dCamera &Cam)
{
[COLOR="#FF0000"]//#ifndef FINAL_BUILD //UndeadBrasil[/COLOR]
if(d_video_spectator_mode->GetBool() || d_observer_mode->GetBool())
{
r3dPoint3D CamPos = FPS_Position;
CamPos.Y += 1.8f;
r3dPoint3D ViewPos = CamPos + FPS_vVision*10.0f;
[COLOR="#FF0000"] //Cam.FOV = r_video_fov->GetFloat();[/COLOR]
Cam.SetPosition( CamPos );
Cam.PointTo(ViewPos);
[COLOR="#FF0000"] //LevelDOF = r_video_DOF_enable->GetBool();[/COLOR]
_NEAR_DOF = 1;
_FAR_DOF = 1;
[COLOR="#FF0000"] //DepthOfField_NearStart = r_video_nearDOF_start->GetFloat();
//DepthOfField_NearEnd = r_video_nearDOF_end->GetFloat();
//DepthOfField_FarStart = r_video_farDOF_start->GetFloat();
//DepthOfField_FarEnd = r_video_farDOF_end->GetFloat();[/COLOR]
return;
}
[COLOR="#FF0000"]//#endif // << red color[/COLOR]
need edit this
Original:
Code:REG_VAR( d_mouse_window_lock, false, 0 ); // should I restrict mouse at window client area? #ifndef FINAL_BUILD REG_VAR( d_show_muzzle, 0, 0 );
modified:
Code:REG_VAR( d_mouse_window_lock, false, 0 ); // should I restrict mouse at window client area? //#ifndef FINAL_BUILD REG_VAR( d_show_muzzle, 0, 0 );
and this
Original:
Code:REG_VAR( d_allow_musictriggerarea, 0, 0); #endif // FINAL BUILD
modified:
put the // on this lines and fixedCode:REG_VAR( d_allow_musictriggerarea, 0, 0); [COLOR=#ff0000]//#endif // FINAL BUILD[/COLOR]