Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_shop_item_static.h
Go to the documentation of this file.
1#ifndef D_A_D_A_SHOP_ITEM_STATIC_H
2#define D_A_D_A_SHOP_ITEM_STATIC_H
3
5
7 const char* get_arcName() const { return mArcName; }
8 s16 get_bmdName() const { return mBmdName; }
9 s16 get_btk1Name() const { return mBtkName; }
10 s16 get_bpk1Name() const { return mBpkName; }
11 s16 get_bck1Name() const { return mBckName; }
12 s16 get_bxa1Name() const { return mBxaName; }
13 s16 get_brk1Name() const { return mBrkName; }
14 s16 get_btp1Name() const { return mBtpName; }
15 f32 get_scale() const { return mScale; }
16 f32 get_offsetY() const { return mOffsetY; }
17 s16 get_angleX() const { return mAngle.x; }
18 s16 get_angleY() const { return mAngle.y; }
19 s16 get_angleZ() const { return mAngle.z; }
21 u32 get_flag() const { return mFlag; }
22 s8 get_tevfrm() const { return mTevFrm; }
23 s8 get_btpfrm() const { return mBtpFrm; }
24 u8 get_shadowSize() const { return mShadowSize; }
25 u8 get_collisionH() const { return mCollisionH; }
26 u8 get_collisionR() const { return mCollisionR; }
27
28 /* 0x00 */ const char* mArcName;
29 /* 0x04 */ s16 mBmdName;
30 /* 0x06 */ s16 mBtkName;
31 /* 0x08 */ s16 mBpkName;
32 /* 0x0A */ s16 mBckName;
33 /* 0x0C */ s16 mBxaName;
34 /* 0x0E */ s16 mBrkName;
35 /* 0x10 */ s16 mBtpName;
36 /* 0x14 */ f32 mOffsetY;
37 /* 0x18 */ f32 mScale;
38 /* 0x1C */ s16 mAngleOffsetX;
39 /* 0x1E */ SVec mAngle;
40 /* 0x24 */ u32 mFlag;
41 /* 0x28 */ u8 mShadowSize;
42 /* 0x29 */ u8 mCollisionH;
43 /* 0x2A */ u8 mCollisionR;
44 /* 0x2B */ s8 mTevFrm;
45 /* 0x2C */ s8 mBtpFrm;
46}; // Size: 0x30
47
48class daShopItem_c : public daItemBase_c {
49public:
50 /* 80037C14 */ csXyz* getRotateP();
51 /* 80037C1C */ cXyz* getPosP();
52 /* 8059E9B8 */ const char* getShopArcname();
53 /* 8059EC04 */ u16 getHeapSize();
54 /* 8059EC1C */ void CreateInit();
55 /* 8059ED58 */ void set_mtx();
56 /* 8059EEF4 */ bool _execute();
57 /* 8059EF48 */ bool _draw();
58
59 inline int _create();
60 inline int _delete();
61
62 /* 8059EF9C */ virtual void setListStart();
63 /* 8059EFA0 */ virtual void setShadow();
64 /* 8059F024 */ virtual BOOL chkFlag(int);
65 /* 8059F044 */ virtual s8 getTevFrm();
66 /* 8059F064 */ virtual s8 getBtpFrm();
67 /* 8059F084 */ virtual u8 getShadowSize();
68 /* 8059F0A0 */ virtual u8 getCollisionH();
69 /* 8059F0BC */ virtual u8 getCollisionR();
70
71 u8 getShopItemID() const { return mShopItemID; }
72 s16 getAngleX() const { return mAngleX; }
74 s16 getAngleY() const { return mAngleY; }
76
77 static ResourceData const mData[23];
78 static f32 const m_cullfar_max;
79
80 enum {
105 };
106
107private:
108 /* 0x92C */ Mtx mMtx;
109 /* 0x95C */ int field_0x95c;
110 /* 0x960 */ s16 mAngleX;
111 /* 0x962 */ s16 mAngleY;
112 /* 0x964 */ u8 mShopItemID;
113};
114
116
117#endif /* D_A_D_A_SHOP_ITEM_STATIC_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_a_itembase.h:29
Definition d_a_shop_item_static.h:48
int _delete()
Definition d_a_shop_item.cpp:263
s16 getAngleX() const
Definition d_a_shop_item_static.h:72
u8 getShopItemID() const
Definition d_a_shop_item_static.h:71
static ResourceData const mData[23]
Definition d_a_shop_item_static.h:19
virtual void setListStart()
Definition d_a_shop_item.cpp:184
bool _draw()
Definition d_a_shop_item.cpp:174
virtual u8 getCollisionR()
Definition d_a_shop_item.cpp:223
virtual u8 getCollisionH()
Definition d_a_shop_item.cpp:218
const char * getShopArcname()
Definition d_a_shop_item.cpp:11
s16 mAngleX
Definition d_a_shop_item_static.h:110
virtual s8 getBtpFrm()
Definition d_a_shop_item.cpp:208
virtual s8 getTevFrm()
Definition d_a_shop_item.cpp:203
virtual u8 getShadowSize()
Definition d_a_shop_item.cpp:213
void setAngleY(s16 angle)
Definition d_a_shop_item_static.h:75
@ SHOP_ITEMNO_SHIELD_A
Definition d_a_shop_item_static.h:88
@ SHOP_ITEMNO_RED
Definition d_a_shop_item_static.h:83
@ SHOP_ITEMNO_ARROW
Definition d_a_shop_item_static.h:86
@ SHOP_ITEMNO_PACHINKO
Definition d_a_shop_item_static.h:97
@ SHOP_ITEMNO_OIL
Definition d_a_shop_item_static.h:82
@ SHOP_ITEMNO_HALF_MILK
Definition d_a_shop_item_static.h:85
@ SHOP_ITEMNO_MAX
Definition d_a_shop_item_static.h:104
@ SHOP_ITEMNO_POKE_BOMB
Definition d_a_shop_item_static.h:91
@ SHOP_ITEMNO_GREEN
Definition d_a_shop_item_static.h:102
@ SHOP_ITEMNO_BOMB
Definition d_a_shop_item_static.h:89
@ SHOP_ITEMNO_ARMOR
Definition d_a_shop_item_static.h:100
@ SHOP_ITEMNO_DROP
Definition d_a_shop_item_static.h:103
@ SHOP_ITEMNO_LAND_MINE
Definition d_a_shop_item_static.h:94
@ SHOP_ITEMNO_HAWKEYE
Definition d_a_shop_item_static.h:99
@ SHOP_ITEMNO_BLUE
Definition d_a_shop_item_static.h:98
@ SHOP_ITEMNO_ARMOR_SOLD
Definition d_a_shop_item_static.h:101
@ SHOP_ITEMNO_BOTTLE2
Definition d_a_shop_item_static.h:95
@ SHOP_ITEMNO_SHIELD_B
Definition d_a_shop_item_static.h:87
@ SHOP_ITEMNO_BOMB_BAG_LV2
Definition d_a_shop_item_static.h:93
@ SHOP_ITEMNO_SOLD
Definition d_a_shop_item_static.h:81
@ SHOP_ITEMNO_BEE_CHILD
Definition d_a_shop_item_static.h:96
@ SHOP_ITEMNO_BOMB_BAG
Definition d_a_shop_item_static.h:92
@ SHOP_ITEMNO_WATER_BOMB
Definition d_a_shop_item_static.h:90
@ SHOP_ITEMNO_MILK
Definition d_a_shop_item_static.h:84
static f32 const m_cullfar_max
Definition d_a_shop_item_static.h:78
bool _execute()
Definition d_a_shop_item.cpp:167
void CreateInit()
Definition d_a_shop_item.cpp:110
s16 getAngleY() const
Definition d_a_shop_item_static.h:74
u16 getHeapSize()
Definition d_a_shop_item.cpp:95
void setAngleX(s16 angle)
Definition d_a_shop_item_static.h:73
s16 mAngleY
Definition d_a_shop_item_static.h:111
int field_0x95c
Definition d_a_shop_item_static.h:109
virtual BOOL chkFlag(int)
Definition d_a_shop_item.cpp:198
csXyz * getRotateP()
Definition d_a_shop_item_static.cpp:9
void set_mtx()
Definition d_a_shop_item.cpp:135
u8 mShopItemID
Definition d_a_shop_item_static.h:112
int _create()
Definition d_a_shop_item.cpp:227
Mtx mMtx
Definition d_a_shop_item_static.h:108
virtual void setShadow()
Definition d_a_shop_item.cpp:187
cXyz * getPosP()
Definition d_a_shop_item_static.cpp:14
static u8 angle[2+2]
Definition d_a_obj_kago.cpp:845
int CheckShopItemCreateHeap(fopAc_ac_c *i_this)
Definition d_a_shop_item_static.cpp:46
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_shop_item_static.h:6
s16 get_bpk1Name() const
Definition d_a_shop_item_static.h:10
f32 get_scale() const
Definition d_a_shop_item_static.h:15
s16 get_angleY() const
Definition d_a_shop_item_static.h:18
s8 get_btpfrm() const
Definition d_a_shop_item_static.h:23
const char * mArcName
Definition d_a_shop_item_static.h:28
s8 mTevFrm
Definition d_a_shop_item_static.h:44
s16 mBrkName
Definition d_a_shop_item_static.h:34
f32 mScale
Definition d_a_shop_item_static.h:37
s16 get_angleOffsetX() const
Definition d_a_shop_item_static.h:20
s16 mBckName
Definition d_a_shop_item_static.h:32
u8 mCollisionH
Definition d_a_shop_item_static.h:42
s16 get_angleZ() const
Definition d_a_shop_item_static.h:19
s8 get_tevfrm() const
Definition d_a_shop_item_static.h:22
SVec mAngle
Definition d_a_shop_item_static.h:39
u8 get_collisionH() const
Definition d_a_shop_item_static.h:25
u8 mCollisionR
Definition d_a_shop_item_static.h:43
s16 get_bck1Name() const
Definition d_a_shop_item_static.h:11
s16 get_btp1Name() const
Definition d_a_shop_item_static.h:14
s16 mBmdName
Definition d_a_shop_item_static.h:29
s16 get_bxa1Name() const
Definition d_a_shop_item_static.h:12
s16 get_brk1Name() const
Definition d_a_shop_item_static.h:13
s16 mAngleOffsetX
Definition d_a_shop_item_static.h:38
u8 get_shadowSize() const
Definition d_a_shop_item_static.h:24
const char * get_arcName() const
Definition d_a_shop_item_static.h:7
s16 get_angleX() const
Definition d_a_shop_item_static.h:17
s8 mBtpFrm
Definition d_a_shop_item_static.h:45
s16 get_bmdName() const
Definition d_a_shop_item_static.h:8
s16 mBtpName
Definition d_a_shop_item_static.h:35
s16 mBpkName
Definition d_a_shop_item_static.h:31
u32 mFlag
Definition d_a_shop_item_static.h:40
s16 get_btk1Name() const
Definition d_a_shop_item_static.h:9
u8 mShadowSize
Definition d_a_shop_item_static.h:41
s16 mBtkName
Definition d_a_shop_item_static.h:30
u32 get_flag() const
Definition d_a_shop_item_static.h:21
f32 mOffsetY
Definition d_a_shop_item_static.h:36
u8 get_collisionR() const
Definition d_a_shop_item_static.h:26
f32 get_offsetY() const
Definition d_a_shop_item_static.h:16
s16 mBxaName
Definition d_a_shop_item_static.h:33
Definition vec.h:18
s16 x
Definition vec.h:19
s16 z
Definition vec.h:19
s16 y
Definition vec.h:19
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_ep.cpp:19
int BOOL
Definition types.h:27
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8