Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
f_op_camera_mng.h
Go to the documentation of this file.
1#ifndef F_F_OP_CAMERA_MNG_H_
2#define F_F_OP_CAMERA_MNG_H_
3
5#include "d/d_camera.h"
6#include "f_op/f_op_view.h"
7
9
11public:
14 /* 0x228 */ u8 field_0x228[4];
15 /* 0x22C */ s8 mPrm1;
16 /* 0x22D */ s8 mPrm2;
17 /* 0x22E */ s8 mPrm3;
18 /* 0x22F */ s8 field_0x22f;
19 /* 0x230 */ csXyz mAngle;
20 /* 0x238 */ int field_0x238;
21};
22
24public:
25 /* 0x23C */ int field_0x23c;
27 /* 0x248 */ dCamera_c mCamera;
28};
29
31 i_this->mNear = near;
32}
33
35 i_this->mFar = far;
36}
37
39 i_this->mFovy = fovy;
40}
41
43 i_this->mAspect = aspect;
44}
45
47 i_this->mLookat.mEye.set(x, y, z);
48}
49
51 i_this->mLookat.mCenter.set(x, y, z);
52}
53
55 i_this->mBank = bank;
56}
57
59 i_this->mPrm1 = prm1;
60}
61
63 i_this->mPrm2 = prm2;
64}
65
67 i_this->mPrm3 = prm3;
68}
69
71 return i_camera->mAngle.x;
72}
73
75 return i_camera->mAngle.y;
76}
77
79 return i_camera->mAngle.z;
80}
81
83 return i_camera->mFovy;
84}
85
87 return &i_camera->mLookat.mEye;
88}
89
91 return &i_camera->mLookat.mCenter;
92}
93
94u32 fopCamM_Create(int i_cameraIdx, s16 pProcName, void* param_3);
95void fopCamM_Management(void);
97void fopCamM_Init(void);
98
99#endif
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition f_op_camera_mng.h:23
int field_0x23c
Definition f_op_camera_mng.h:25
dCamera_c mCamera
Definition f_op_camera_mng.h:27
request_of_phase_process_class mPhaseReq
Definition f_op_camera_mng.h:26
Definition f_op_camera_mng.h:10
s8 mPrm1
Definition f_op_camera_mng.h:15
s8 mPrm2
Definition f_op_camera_mng.h:16
int field_0x238
Definition f_op_camera_mng.h:20
u8 field_0x228[4]
Definition f_op_camera_mng.h:14
create_tag_class mCreateTag
Definition f_op_camera_mng.h:12
leafdraw_method_class * mpMtd
Definition f_op_camera_mng.h:13
s8 field_0x22f
Definition f_op_camera_mng.h:18
csXyz mAngle
Definition f_op_camera_mng.h:19
s8 mPrm3
Definition f_op_camera_mng.h:17
double x double x
Definition e_atan2.c:58
double x double y
Definition e_atan2.c:58
z
Definition e_pow.c:390
f32 fopCamM_GetFovy(camera_class *i_camera)
Definition f_op_camera_mng.h:82
s16 fopCamM_GetAngleY(camera_class *i_camera)
Definition f_op_camera_mng.h:74
void fopCamM_SetPrm2(camera_class *i_this, int prm2)
Definition f_op_camera_mng.h:62
s16 fopCamM_GetAngleX(camera_class *i_camera)
Definition f_op_camera_mng.h:70
void fopCamM_Management(void)
Definition f_op_camera_mng.cpp:26
u32 fopCamM_Create(int i_cameraIdx, s16 pProcName, void *param_3)
Definition f_op_camera_mng.cpp:20
void fopCamM_SetPrm3(camera_class *i_this, int prm3)
Definition f_op_camera_mng.h:66
void fopCamM_SetBank(camera_class *i_this, s16 bank)
Definition f_op_camera_mng.h:54
void fopCamM_SetAspect(camera_class *i_this, f32 aspect)
Definition f_op_camera_mng.h:42
cXyz * fopCamM_GetCenter_p(camera_class *i_camera)
Definition f_op_camera_mng.h:90
void fopCamM_SetNear(camera_class *i_this, f32 near)
Definition f_op_camera_mng.h:30
void fopCamM_SetPrm1(camera_class *i_this, int prm1)
Definition f_op_camera_mng.h:58
s16 fopCamM_GetAngleZ(camera_class *i_camera)
Definition f_op_camera_mng.h:78
void fopCamM_SetFovy(camera_class *i_this, f32 fovy)
Definition f_op_camera_mng.h:38
void fopCamM_SetFar(camera_class *i_this, f32 far)
Definition f_op_camera_mng.h:34
void fopCamM_Init(void)
Definition f_op_camera_mng.cpp:29
cXyz * fopCamM_GetEye_p(camera_class *i_camera)
Definition f_op_camera_mng.h:86
u32 fopCamM_GetParam(camera_class *pCamera)
Definition f_op_camera_mng.cpp:15
void fopCamM_SetCenter(camera_class *i_this, f32 x, f32 y, f32 z)
Definition f_op_camera_mng.h:50
void fopCamM_SetEye(camera_class *i_this, f32 x, f32 y, f32 z)
Definition f_op_camera_mng.h:46
Definition d_a_hozelda.cpp:20
void set(f32 pX, f32 pY, f32 pZ)
Definition c_xyz.h:82
Definition c_tag.h:10
Definition d_a_ep.cpp:66
Definition d_a_tag_allmato.cpp:90
cXyz mEye
Definition d_camera.h:452
Definition f_pc_leaf.h:11
Definition d_a_hozelda.cpp:14
Definition f_op_view.h:43
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8