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 prm1;
16 /* 0x22D */ s8 prm2;
17 /* 0x22E */ s8 prm3;
18 /* 0x22F */ s8 field_0x22f;
19 /* 0x230 */ csXyz angle;
20 /* 0x238 */ int field_0x238;
21};
22
24public:
25 /* 0x23C */ int field_0x23c;
27 /* 0x248 */ dCamera_c mCamera;
28};
29
31 i_this->near = near;
32}
33
35 i_this->far = far;
36}
37
39 i_this->fovy = fovy;
40}
41
43 i_this->aspect = aspect;
44}
45
47 i_this->lookat.eye.set(x, y, z);
48}
49
51 i_this->lookat.center.set(x, y, z);
52}
53
55 i_this->bank = bank;
56}
57
58inline void fopCamM_SetPrm1(camera_class* i_this, int prm1) {
59 i_this->prm1 = prm1;
60}
61
62inline void fopCamM_SetPrm2(camera_class* i_this, int prm2) {
63 i_this->prm2 = prm2;
64}
65
66inline void fopCamM_SetPrm3(camera_class* i_this, int prm3) {
67 i_this->prm3 = prm3;
68}
69
71 return i_camera->angle.x;
72}
73
75 return i_camera->angle.y;
76}
77
79 return i_camera->angle.z;
80}
81
83 return i_camera->fovy;
84}
85
87 return &i_camera->lookat.eye;
88}
89
91 return &i_camera->lookat.center;
92}
93
95 return i_camera->bank;
96}
97
101void fopCamM_Init();
102
103#endif
T cLib_calcTimer(T *value)
Definition c_lib.h:79
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 phase_request
Definition f_op_camera_mng.h:26
Definition f_op_camera_mng.h:10
csXyz angle
Definition f_op_camera_mng.h:19
create_tag_class create_tag
Definition f_op_camera_mng.h:12
s8 prm1
Definition f_op_camera_mng.h:15
int field_0x238
Definition f_op_camera_mng.h:20
s8 prm2
Definition f_op_camera_mng.h:16
s8 prm3
Definition f_op_camera_mng.h:17
u8 field_0x228[4]
Definition f_op_camera_mng.h:14
leafdraw_method_class * submethod
Definition f_op_camera_mng.h:13
s8 field_0x22f
Definition f_op_camera_mng.h:18
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
fpc_ProcID fopCamM_Create(int i_cameraIdx, s16 i_procName, void *i_append)
Definition f_op_camera_mng.cpp:19
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
s16 fopCamM_GetBank(camera_class *i_camera)
Definition f_op_camera_mng.h:94
void fopCamM_Management()
Definition f_op_camera_mng.cpp:25
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()
Definition f_op_camera_mng.cpp:28
cXyz * fopCamM_GetEye_p(camera_class *i_camera)
Definition f_op_camera_mng.h:86
void fopCamM_SetCenter(camera_class *i_this, f32 x, f32 y, f32 z)
Definition f_op_camera_mng.h:50
u32 fopCamM_GetParam(camera_class *i_this)
Definition f_op_camera_mng.cpp:14
void fopCamM_SetEye(camera_class *i_this, f32 x, f32 y, f32 z)
Definition f_op_camera_mng.h:46
unsigned int fpc_ProcID
Definition f_pc_base.h:10
Definition d_a_hozelda.cpp:20
Definition c_tag.h:10
Definition d_a_ep.cpp:66
Definition d_a_tag_allmato.cpp:90
Definition f_pc_leaf.h:11
Definition d_a_hozelda.cpp:14
Definition f_op_view.h:42
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