diff options
author | aap <aap@papnet.eu> | 2020-12-18 13:50:26 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-18 13:50:26 +0100 |
commit | a7050458ae17284e8542ee2ba4e3433b071cb70a (patch) | |
tree | ec1efa165d5287c1fe8c6561577df9639b31fc52 /src/core/Cam.cpp | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-a7050458ae17284e8542ee2ba4e3433b071cb70a.tar re3-a7050458ae17284e8542ee2ba4e3433b071cb70a.tar.gz re3-a7050458ae17284e8542ee2ba4e3433b071cb70a.tar.bz2 re3-a7050458ae17284e8542ee2ba4e3433b071cb70a.tar.lz re3-a7050458ae17284e8542ee2ba4e3433b071cb70a.tar.xz re3-a7050458ae17284e8542ee2ba4e3433b071cb70a.tar.zst re3-a7050458ae17284e8542ee2ba4e3433b071cb70a.zip |
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r-- | src/core/Cam.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index a63954c1..8aecf577 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -287,9 +287,11 @@ CCam::Process(void) case MODE_FIGHT_CAM_RUNABOUT: Process_1rstPersonPedOnPC(CameraTarget, TargetOrientation, SpeedVar, TargetSpeedVar); break; +#ifdef GTA_SCENE_EDIT case MODE_EDITOR: Process_Editor(CameraTarget, TargetOrientation, SpeedVar, TargetSpeedVar); break; +#endif default: Source = CVector(0.0f, 0.0f, 0.0f); Front = CVector(0.0f, 1.0f, 0.0f); @@ -4033,6 +4035,7 @@ CCam::Process_Debug(const CVector&, float, float, float) } #endif +#ifdef GTA_SCENE_EDIT void CCam::Process_Editor(const CVector&, float, float, float) { @@ -4111,6 +4114,7 @@ CCam::Process_Editor(const CVector&, float, float, float) sprintf(str, "Look@: %f, Look@: %f, Look@: %f ", Front.x + Source.x, Front.y + Source.y, Front.z + Source.z); } } +#endif void CCam::Process_ModelView(const CVector &CameraTarget, float, float, float) |