Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
f_op_view.h
Go to the documentation of this file.
1#ifndef F_F_OP_VIEW_H_
2#define F_F_OP_VIEW_H_
3
5#include "dolphin/mtx.h"
6#include "f_pc/f_pc_leaf.h"
7
10 /* 0x24 */ leafdraw_method_class* sub_method; // Subclass methods
11 /* 0x28 */ u8 unk_0x28;
12 /* 0x2C */ u32 unk_0x2C;
13 /* 0x30 */ u32 unk_0x30;
14 /* 0x34 */ u32 unk_0x34;
15 /* 0x38 */ u32 unk_0x38;
16};
17
19public:
20 /* 0x00 */ cXyz eye;
21 /* 0x0C */ cXyz center;
22 /* 0x18 */ cXyz up;
23};
24
26 /* 0x0 */ f32 x_orig;
27 /* 0x4 */ f32 y_orig;
28 /* 0x8 */ f32 width;
29 /* 0xC */ f32 height;
30};
31
33 /* 0x00 */ f32 x_orig;
34 /* 0x04 */ f32 y_orig;
35 /* 0x08 */ f32 width;
36 /* 0x0C */ f32 height;
37 /* 0x10 */ f32 near_z;
38 /* 0x14 */ f32 far_z;
40};
41
42struct view_class : public leafdraw_class {
44 /* 0x0C4 */ u8 field_0xc4;
45 /* 0x0C8 */ f32 near;
46 /* 0x0CC */ f32 far;
47 /* 0x0D0 */ f32 fovy;
48 /* 0x0D4 */ f32 aspect;
49 /* 0x0D8 */ lookat_class lookat;
50 /* 0x0FC */ s16 bank;
51 /* 0x100 */ Mtx44 projMtx;
52 /* 0x140 */ Mtx viewMtx;
53 /* 0x170 */ Mtx invViewMtx;
54 /* 0x1A0 */ Mtx44 projViewMtx;
55 /* 0x1E0 */ Mtx viewMtxNoTrans;
56};
57
59
60#endif
Definition f_op_view.h:18
cXyz up
Definition f_op_view.h:22
cXyz eye
Definition f_op_view.h:20
cXyz center
Definition f_op_view.h:21
leafdraw_method_class g_fopVw_Method
Definition f_op_view.cpp:42
f32 Mtx44[4][4]
Definition mtx44.h:6
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_hozelda.cpp:20
Definition f_pc_leaf.h:24
Definition f_pc_leaf.h:16
Definition f_pc_leaf.h:11
Definition f_op_view.h:25
f32 width
Definition f_op_view.h:28
f32 height
Definition f_op_view.h:29
f32 x_orig
Definition f_op_view.h:26
f32 y_orig
Definition f_op_view.h:27
Definition f_op_view.h:42
Mtx44 projViewMtx
Definition f_op_view.h:54
Mtx44 projMtx
Definition f_op_view.h:51
leafdraw_method_class * sub_method
Definition f_op_view.h:43
f32 fovy
Definition f_op_view.h:47
f32 far
Definition f_op_view.h:46
Mtx viewMtx
Definition f_op_view.h:52
lookat_class lookat
Definition f_op_view.h:49
Mtx viewMtxNoTrans
Definition f_op_view.h:55
Mtx invViewMtx
Definition f_op_view.h:53
s16 bank
Definition f_op_view.h:50
f32 near
Definition f_op_view.h:45
u8 field_0xc4
Definition f_op_view.h:44
f32 aspect
Definition f_op_view.h:48
Definition f_op_view.h:32
f32 x_orig
Definition f_op_view.h:33
f32 near_z
Definition f_op_view.h:37
f32 width
Definition f_op_view.h:35
f32 y_orig
Definition f_op_view.h:34
f32 far_z
Definition f_op_view.h:38
f32 height
Definition f_op_view.h:36
scissor_class scissor
Definition f_op_view.h:39
Definition f_op_view.h:8
u8 unk_0x28
Definition f_op_view.h:11
u32 unk_0x34
Definition f_op_view.h:14
u32 unk_0x2C
Definition f_op_view.h:12
u32 unk_0x38
Definition f_op_view.h:15
u32 unk_0x30
Definition f_op_view.h:13
leaf_process_profile_definition base
Definition f_op_view.h:9
leafdraw_method_class * sub_method
Definition f_op_view.h:10
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