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 /* 8015E010 */ dInsect_c();
21 /* 8015E078 */ void Insect_GetDemoMain();
22 /* 8015E26C */ void CalcZBuffer(f32);
23
24 /* 80110648 */ virtual void Insect_Release() { field_0x56C = 1; }
25 bool ChkGetDemo() { return m_mode > 0; }
28
29protected:
30 /* 0x56C */ u8 field_0x56C;
31 /* 0x56D */ bool mDraw;
32 /* 0x570 */ u32 mParticleKey1;
33 /* 0x574 */ u32 mParticleKey2;
34 /* 0x578 */ u32 field_0x578;
35 /* 0x57C */ f32 field_0x57C;
36 /* 0x580 */ u8 m_itemNo;
37 /* 0x581 */ u8 mSex;
38 /* 0x582 */ s16 m_saveBitNo;
39 /* 0x584 */ u8 field_0x584;
40 /* 0x585 */ u8 field_0x585;
41 /* 0x586 */ u8 field_0x586[2];
42 /* 0x588 */ u32 m_itemId;
43 /* 0x58C */ int m_mode;
44
45};
46
47#endif /* D_D_INSECT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_insect.h:6
u8 field_0x586[2]
Definition d_insect.h:41
u8 m_itemNo
Definition d_insect.h:36
bool ChkGetDemo()
Definition d_insect.h:25
void Insect_GetDemoMain()
Definition d_insect.cpp:41
bool mDraw
Definition d_insect.h:31
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:43
void setSaveBitNo(s16 i_saveBitNo)
Definition d_insect.h:27
u8 field_0x56C
Definition d_insect.h:30
f32 field_0x57C
Definition d_insect.h:35
dInsect_c()
Definition d_insect.cpp:29
u32 m_itemId
Definition d_insect.h:42
u32 mParticleKey2
Definition d_insect.h:33
void CalcZBuffer(f32)
Definition d_insect.cpp:95
u32 field_0x578
Definition d_insect.h:34
u8 field_0x584
Definition d_insect.h:39
u32 mParticleKey1
Definition d_insect.h:32
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:40
s16 m_saveBitNo
Definition d_insect.h:38
u8 mSex
Definition d_insect.h:37
Definition d_a_ep.cpp:19
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