From 3de127d797a8183d4e2d68f9e8da0ba5d336cfd1 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 13 Jun 2021 19:06:41 -0400 Subject: Finish decomping unk_0201E7D8 --- include/unk_0201E7D8.h | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 include/unk_0201E7D8.h (limited to 'include') 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 -- cgit v1.2.3