D a w bird (#733)

* create functions

* actionend matched

* matched a func i think. progress on setstartpos

* progress on  setstartpos, 2 small functions done

* rodata + actionselect

* 100% match

* cleanup

* configure.py matching

* removed unecessary cast

* removes the linker warning from arcname

* added the setaction inline. moved logic

* setAction now takes unsigned char
This commit is contained in:
Zeclos
2025-04-03 23:34:13 +02:00
committed by GitHub
parent 07d0adc7da
commit d16ee29425
4 changed files with 179 additions and 24 deletions
+14 -5
View File
@@ -7,19 +7,28 @@ class daWbird_c : public fopAc_ac_c {
public:
inline BOOL draw();
inline BOOL execute();
void setAction(unsigned char) {}
void setAction(unsigned char action) {
mAction = action;
}
void calcMtx();
void setStartPos();
void CreateInit();
BOOL CreateInit();
cPhs_State create();
void actionWait();
void actionEnd();
void actionMove();
void actionSelect();
public:
/* Place member variables here */
};
static const char M_arcname[];
public:
/* 0x290 */ u8 field_0x290[0x29C - 0x290];
/* 0x29C */ u8 mAction;
/* 0x29D */ bool field_0x29D;
/* 0x29E */ s16 field_0x29E;
/* 0x2A0 */ f32 field_0x2A0;
/* 0x2A4 */ s16 mAngle;
/* 0x2A6 */ s16 mEventIdx;
}; // Size: 0x2A8
#endif /* D_A_WBIRD_H */
+2
View File
@@ -374,5 +374,7 @@ cXyz dKyw_get_AllWind_vecpow(cXyz* param_0);
int dKyw_get_tactwind_dir();
BOOL dKyw_gbwind_use_check();
void dKyw_tornado_Notice(cXyz* param_0);
void dKyw_custom_windpower(f32 i_windpower);
void dKyw_tact_wind_set_go();
#endif /* D_KANKYO_WETHER_H */