Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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; }
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:41
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
u8 field_0x56C
Definition d_insect.h:31
f32 field_0x57C
Definition d_insect.h:36
dInsect_c()
Definition d_insect.cpp:29
u32 m_itemId
Definition d_insect.h:43
u32 mParticleKey2
Definition d_insect.h:34
void CalcZBuffer(f32)
Definition d_insect.cpp:95
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 d_a_hozelda.cpp:74
unsigned long u32
Definition types.h:9
signed short int s16
Definition types.h:6
float f32
Definition types.h:22
unsigned char u8
Definition types.h:5