diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-10-27 06:17:30 +0300 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-10-27 06:17:30 +0300 |
commit | 537aaca5c200cb61928674303f7a24e3af29ad54 (patch) | |
tree | 6107f1e30d2392fb11df36d4902605810b4a6998 /src/render/Renderer.cpp | |
parent | 8baf4106694fa5b9a14614230dfa8dcb578c857a (diff) |
ControllerConfig done
Fix Cam enum
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r-- | src/render/Renderer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 99d50e8f..562d5882 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -353,7 +353,7 @@ CRenderer::SetupEntityVisibility(CEntity *ent) }else{ if(mi->m_type != MITYPE_SIMPLE){ if(FindPlayerVehicle() == ent && - TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_FIRSTPERSON){ + TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_1STPERSON){ // Player's vehicle in first person mode if(TheCamera.Cams[TheCamera.ActiveCam].DirectionWasLooking == LOOKING_FORWARD || ent->GetModelIndex() == MI_RHINO || @@ -642,8 +642,8 @@ CRenderer::ScanWorld(void) RwV3dTransformPoints((RwV3d*)vectors, (RwV3d*)vectors, 9, cammatrix); m_loadingPriority = false; - if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN1 || - TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWNPED){ + if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN || + TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOP_DOWN_PED){ CRect rect; int x1, x2, y1, y2; LimitFrustumVector(vectors[CORNER_FAR_TOPLEFT], vectors[CORNER_CAM], -100.0f); @@ -753,8 +753,8 @@ CRenderer::RequestObjectsInFrustum(void) vectors[CORNER_PRIO_RIGHT].z = vectors[CORNER_LOD_RIGHT].z; RwV3dTransformPoints((RwV3d*)vectors, (RwV3d*)vectors, 9, cammatrix); - if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN1 || - TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWNPED){ + if(TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN || + TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOP_DOWN_PED){ CRect rect; int x1, x2, y1, y2; LimitFrustumVector(vectors[CORNER_FAR_TOPLEFT], vectors[CORNER_CAM], -100.0f); |