Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_insect.h
Go to the documentation of this file.
1#ifndef D_D_INSECT_H
2#define D_D_INSECT_H
3
4#include "f_op/f_op_actor.h"
5
6class dInsect_c : public fopAc_ac_c {
7public:
8 enum Sex {
9 /* 0 */ SEX_MALE,
10 /* 1 */ SEX_FEMALE,
11 };
12
13 enum Location {
14 /* 0 */ LOC_OUTSIDE,
15 /* 1 */ LOC_AGITHA,
16 /* 2 */ LOC_UNK_2,
17 /* 3 */ LOC_UNK_3,
18 };
19
20 dInsect_c();
21 void Insect_GetDemoMain();
22 void CalcZBuffer(f32);
23
24 virtual void Insect_Release() { field_0x56c = 1; }
25 bool ChkGetDemo() { return m_mode > 0; }
26 void setItemNo(u8 i_itemNo) { m_itemNo = i_itemNo; }
27 void setSaveBitNo(s16 i_saveBitNo) { m_saveBitNo = i_saveBitNo; }
28 bool CheckZ() { return (u32)field_0x57c > field_0x578; }
29
30public:
31 /* 0x56C */ u8 field_0x56c;
32 /* 0x56D */ bool mDraw;
33 /* 0x570 */ u32 mParticleKey1;
34 /* 0x574 */ u32 mParticleKey2;
35 /* 0x578 */ u32 field_0x578;
36 /* 0x57C */ f32 field_0x57c;
37 /* 0x580 */ u8 m_itemNo;
38 /* 0x581 */ u8 mSex;
39 /* 0x582 */ s16 m_saveBitNo;
40 /* 0x584 */ u8 field_0x584;
41 /* 0x585 */ u8 field_0x585;
42 /* 0x586 */ u8 field_0x586[2];
43 /* 0x588 */ u32 m_itemId;
44 /* 0x58C */ int m_mode;
45
46};
47
48#endif /* D_D_INSECT_H */
Definition d_insect.h:6
u8 field_0x586[2]
Definition d_insect.h:42
u8 m_itemNo
Definition d_insect.h:37
bool ChkGetDemo()
Definition d_insect.h:25
void Insect_GetDemoMain()
Definition d_insect.cpp:24
f32 field_0x57c
Definition d_insect.h:36
bool mDraw
Definition d_insect.h:32
void setItemNo(u8 i_itemNo)
Definition d_insect.h:26
Sex
Definition d_insect.h:8
@ SEX_FEMALE
Definition d_insect.h:10
@ SEX_MALE
Definition d_insect.h:9
int m_mode
Definition d_insect.h:44
void setSaveBitNo(s16 i_saveBitNo)
Definition d_insect.h:27
bool CheckZ()
Definition d_insect.h:28
dInsect_c()
Definition d_insect.cpp:14
u32 m_itemId
Definition d_insect.h:43
u32 mParticleKey2
Definition d_insect.h:34
u8 field_0x56c
Definition d_insect.h:31
void CalcZBuffer(f32)
Definition d_insect.cpp:77
u32 field_0x578
Definition d_insect.h:35
u8 field_0x584
Definition d_insect.h:40
u32 mParticleKey1
Definition d_insect.h:33
Location
Definition d_insect.h:13
@ LOC_UNK_3
Definition d_insect.h:17
@ LOC_UNK_2
Definition d_insect.h:16
@ LOC_OUTSIDE
Definition d_insect.h:14
@ LOC_AGITHA
Definition d_insect.h:15
virtual void Insect_Release()
Definition d_insect.h:24
u8 field_0x585
Definition d_insect.h:41
s16 m_saveBitNo
Definition d_insect.h:39
u8 mSex
Definition d_insect.h:38
Definition f_op_actor.h:230
unsigned long u32
Definition types.h:12
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
unsigned char u8
Definition types.h:8