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
43 lines
1.0 KiB
C++
43 lines
1.0 KiB
C++
#ifndef D_D_KY_THUNDER_H
|
|
#define D_D_KY_THUNDER_H
|
|
|
|
#include "f_op/f_op_kankyo.h"
|
|
#include "m_Do/m_Do_ext.h"
|
|
|
|
class JKRSolidHeap;
|
|
|
|
class dThunder_modelInfo_c {
|
|
public:
|
|
/* 0x00 */ J3DModel* mpModel;
|
|
/* 0x04 */ mDoExt_invisibleModel mInvisModel;
|
|
/* 0x0C */ mDoExt_brkAnm mBrk;
|
|
/* 0x24 */ mDoExt_btpAnm mBtp;
|
|
}; // Size: 0x3C
|
|
|
|
class dThunder_c : public kankyo_class {
|
|
public:
|
|
int createHeap();
|
|
void adjustHeap();
|
|
int create();
|
|
inline int draw();
|
|
inline int execute(dThunder_c* i_thunder);
|
|
inline int thunder_delete(dThunder_c* i_thunder);
|
|
|
|
~dThunder_c() { mDoExt_destroySolidHeap(mpHeap); }
|
|
|
|
private:
|
|
/* 0x0F8 */ JKRSolidHeap* mpHeap;
|
|
/* 0x0FC */ dThunder_modelInfo_c mModelInfo;
|
|
/* 0x138 */ cXyz field_0x138;
|
|
/* 0x144 */ cXyz mThunderPos;
|
|
/* 0x150 */ cXyz field_0x150;
|
|
/* 0x15C */ f32 field_0x15c;
|
|
/* 0x160 */ u8 unk_0x160[4];
|
|
/* 0x164 */ f32 mBrkSpeed;
|
|
/* 0x168 */ s16 field_0x168;
|
|
/* 0x16A */ s16 field_0x16a;
|
|
/* 0x16C */ s16 field_0x16c;
|
|
};
|
|
|
|
#endif /* D_D_KY_THUNDER_H */
|