diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-13 19:06:41 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-06-13 19:06:41 -0400 |
commit | 3de127d797a8183d4e2d68f9e8da0ba5d336cfd1 (patch) | |
tree | b6f08558ed2952a0c3e6f31605416bfabd531242 /include | |
parent | 53ac2be5cf4064c9e5df4a97f4233b7014acb004 (diff) |
Finish decomping unk_0201E7D8
Diffstat (limited to 'include')
-rw-r--r-- | include/unk_0201E7D8.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/include/unk_0201E7D8.h b/include/unk_0201E7D8.h new file mode 100644 index 00000000..78b2c723 --- /dev/null +++ b/include/unk_0201E7D8.h @@ -0,0 +1,61 @@ +#ifndef POKEDIAMOND_UNK_0201E7D8_H
+#define POKEDIAMOND_UNK_0201E7D8_H
+
+#include "fx.h"
+
+
+struct CameraHistory
+{
+ s32 count;
+ s32 readIdx;
+ s32 writeIdx;
+ s32 writeIdxInit;
+ BOOL overrideEnabled;
+ BOOL enableUpdateX;
+ BOOL enableUpdateY;
+ BOOL enableUpdateZ;
+ VecFx32 * vecs;
+};
+
+struct CameraAngle
+{
+ u16 x;
+ u16 y;
+ u16 z;
+ u16 unk_06;
+};
+
+struct CameraPerspective
+{
+ fx32 fovySin;
+ fx32 fovyCos;
+ fx32 aspect;
+ fx32 n;
+ fx32 f;
+};
+
+struct CameraLookAt
+{
+ VecFx32 camPos;
+ VecFx32 camTarget;
+ VecFx32 camUp;
+};
+
+struct CameraWork
+{
+ struct CameraPerspective perspective;
+ struct CameraLookAt lookAt;
+ fx32 distance;
+ struct CameraAngle angle;
+ u8 perspectiveType;
+ u16 perspectiveAngle;
+ VecFx32 lastTarget;
+ const VecFx32 * currTarget_p;
+ BOOL enableOffsetX;
+ BOOL enableOffsetY;
+ BOOL enableOffsetZ;
+ struct CameraHistory * history;
+};
+
+
+#endif //POKEDIAMOND_UNK_0201E7D8_H
|