summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-08 13:26:07 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-08 13:26:07 +0200
commitb075b0fccf3e40a375c229cee4dfa3021c618809 (patch)
tree1c45a3d3b54aa386c52825bddf0fec9ba993c51b /src/core/Camera.h
parentrain fix (diff)
parentfix bug (diff)
downloadre3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.gz
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.bz2
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.lz
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.xz
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.tar.zst
re3-b075b0fccf3e40a375c229cee4dfa3021c618809.zip
Diffstat (limited to 'src/core/Camera.h')
-rw-r--r--src/core/Camera.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/core/Camera.h b/src/core/Camera.h
index c22ba9c8..eca4518a 100644
--- a/src/core/Camera.h
+++ b/src/core/Camera.h
@@ -16,12 +16,15 @@ enum
};
#define DEFAULT_NEAR (0.9f)
-#define CAM_ZOOM_1STPRS (0.0f)
-#define CAM_ZOOM_1 (1.0f)
-#define CAM_ZOOM_2 (2.0f)
-#define CAM_ZOOM_3 (3.0f)
-#define CAM_ZOOM_TOPDOWN (4.0f)
-#define CAM_ZOOM_CINEMATIC (5.0f)
+enum
+{
+ CAM_ZOOM_1STPRS,
+ CAM_ZOOM_1,
+ CAM_ZOOM_2,
+ CAM_ZOOM_3,
+ CAM_ZOOM_TOPDOWN,
+ CAM_ZOOM_CINEMATIC,
+};
#ifdef FREE_CAM // LCS values
#define FREE_CAR_ZOOM_VALUE_1 (-1.0f)
@@ -412,7 +415,11 @@ uint32 unknown; // some counter having to do with music
float CamFrontXNorm;
float CamFrontYNorm;
+#if 0 // TODO: FIX_BUGS once GenericLoad is done
+ int32 CarZoomIndicator;
+#else
float CarZoomIndicator;
+#endif
float CarZoomValue;
float CarZoomValueSmooth;
@@ -448,7 +455,11 @@ uint32 unknown; // some counter having to do with music
float m_ScreenReductionSpeed;
float m_AlphaForPlayerAnim1rstPerson;
float Orientation;
+#if 0 // TODO: FIX_BUGS once GenericLoad is done
+ int32 PedZoomIndicator;
+#else
float PedZoomIndicator;
+#endif
float PlayerExhaustion;
float SoundDistUp, SoundDistLeft, SoundDistRight;
float SoundDistUpAsRead, SoundDistLeftAsRead, SoundDistRightAsRead;