summaryrefslogtreecommitdiff
path: root/include/d/d_insect.h
blob: 57256b6e962b4a38b92d29719e6a86592e2b758a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef D_D_INSECT_H
#define D_D_INSECT_H

#include "f_op/f_op_actor.h"

class dInsect_c : public fopAc_ac_c {
public:
    enum Sex {
        /* 0 */ SEX_MALE,
        /* 1 */ SEX_FEMALE,
    };

    enum Location {
        /* 0 */ LOC_OUTSIDE,
        /* 1 */ LOC_AGITHA,
        /* 2 */ LOC_UNK_2,
        /* 3 */ LOC_UNK_3,
    };

    /* 8015E010 */ dInsect_c();
    /* 8015E078 */ void Insect_GetDemoMain();
    /* 8015E26C */ void CalcZBuffer(f32);

    /* 80110648 */ virtual void Insect_Release() { field_0x56C = 1; }
    bool ChkGetDemo() { return m_mode > 0; }
    void setItemNo(u8 i_itemNo) { m_itemNo = i_itemNo; }
    void setSaveBitNo(s16 i_saveBitNo) { m_saveBitNo = i_saveBitNo; }

protected:
    /* 0x56C */ u8 field_0x56C;
    /* 0x56D */ bool mDraw;
    /* 0x570 */ u32 mParticleKey1;
    /* 0x574 */ u32 mParticleKey2;
    /* 0x578 */ u32 field_0x578;
    /* 0x57C */ f32 field_0x57C;
    /* 0x580 */ u8 m_itemNo;
    /* 0x581 */ u8 mSex;
    /* 0x582 */ s16 m_saveBitNo;
    /* 0x584 */ u8 field_0x584;
    /* 0x585 */ u8 field_0x585;
    /* 0x586 */ u8 field_0x586[2];
    /* 0x588 */ u32 m_itemId;
    /* 0x58C */ int m_mode;

};

#endif /* D_D_INSECT_H */