mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
a6e76c0841
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
27 lines
719 B
C++
27 lines
719 B
C++
#ifndef D_SHOP_D_SHOP_ITEM_CTRL_H
|
|
#define D_SHOP_D_SHOP_ITEM_CTRL_H
|
|
|
|
#include "SSystem/SComponent/c_xyz.h"
|
|
|
|
class dShopItemCtrl_c {
|
|
public:
|
|
dShopItemCtrl_c();
|
|
cXyz getCurrentPos(int);
|
|
bool isHomePos(int);
|
|
void setRotateAnime(int);
|
|
void setZoomAnime(int, cXyz*, s16, bool);
|
|
|
|
virtual ~dShopItemCtrl_c();
|
|
|
|
void setItemIndex(int i, u32 index) { mItemIndex[i] = index; }
|
|
u32 getItemIndex(int i) { return mItemIndex[i]; }
|
|
void setMessageIndex(int i, u16 messageIndex) { mMessageIndex[i] = messageIndex; }
|
|
u16 getMessageIndex(int i) { return mMessageIndex[i]; }
|
|
|
|
private:
|
|
/* 0x04 */ u32 mItemIndex[7];
|
|
/* 0x20 */ u16 mMessageIndex[7];
|
|
};
|
|
|
|
#endif /* D_SHOP_D_SHOP_ITEM_CTRL_H */
|