mirror of
https://github.com/zeldaret/tp
synced 2026-08-01 08:17:31 -04:00
d_a_tag_stream OK, d_a_swTime OK, d_a_andsw OK (#287)
This commit is contained in:
@@ -1,6 +1,36 @@
|
||||
#ifndef D_A_ANDSW_H
|
||||
#define D_A_ANDSW_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
|
||||
class daAndsw_c : public fopAc_ac_c {
|
||||
public:
|
||||
u8 getSwNo() {
|
||||
return fopAcM_GetParamBit(this,0,8);
|
||||
}
|
||||
|
||||
u8 getSwNo2() {
|
||||
return fopAcM_GetParamBit(this,8,8);
|
||||
}
|
||||
|
||||
u16 getTimer() {
|
||||
return fopAcM_GetParamBit(this,16,8);
|
||||
}
|
||||
|
||||
u8 getType() {
|
||||
return fopAcM_GetParamBit(this,24,8);
|
||||
}
|
||||
|
||||
/* 80457978 */ int Create();
|
||||
/* 804579B8 */ int create();
|
||||
/* 80457A20 */ int execute();
|
||||
/* 80457ABC */ int _delete();
|
||||
|
||||
/* 0x568 */ u8 mSwNo;
|
||||
/* 0x568 */ u8 mSwNo2;
|
||||
/* 0x56A */ s16 mTimer;
|
||||
};
|
||||
|
||||
|
||||
#endif /* D_A_ANDSW_H */
|
||||
|
||||
@@ -1,6 +1,31 @@
|
||||
#ifndef D_A_SWTIME_H
|
||||
#define D_A_SWTIME_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
|
||||
class daSwTime_c : public fopAc_ac_c {
|
||||
public:
|
||||
u8 getTime() {
|
||||
return fopAcM_GetParamBit(this,0,8);
|
||||
}
|
||||
|
||||
u8 getSwbit() {
|
||||
return fopAcM_GetParamBit(this,8,8);
|
||||
}
|
||||
|
||||
u8 getSwbit2() {
|
||||
return fopAcM_GetParamBit(this,16,8);
|
||||
}
|
||||
|
||||
/* 80D4F638 */ int Create();
|
||||
/* 80D4F660 */ int create();
|
||||
/* 80D4F6C8 */ int execute();
|
||||
/* 80D4F758 */ int _delete();
|
||||
|
||||
/* 0x568 */ u8 mTime;
|
||||
/* 0x569 */ u8 mSwbit;
|
||||
/* 0x56A */ u8 mSwbit2;
|
||||
};
|
||||
|
||||
#endif /* D_A_SWTIME_H */
|
||||
|
||||
@@ -2,5 +2,28 @@
|
||||
#define D_A_TAG_STREAM_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
|
||||
class daTagStream_c : public fopAc_ac_c {
|
||||
public:
|
||||
u8 getPriority() {
|
||||
return mPriority;
|
||||
}
|
||||
|
||||
/* 80D638F8 */ int create();
|
||||
/* 80D63A98 */ ~daTagStream_c();
|
||||
/* 80D63B58 */ int execute();
|
||||
|
||||
/* 0x568 */ u8 mPriority;
|
||||
/* 0x569 */ u8 field_0x569;
|
||||
/* 0x56A */ u8 field_0x56a;
|
||||
/* 0x56B */ u8 field_0x56b;
|
||||
/* 0x56C */ u32 mParameters;
|
||||
/* 0x570 */ daTagStream_c* field_0x570;
|
||||
/* 0x574 */ daTagStream_c* field_0x574;
|
||||
|
||||
static daTagStream_c* m_top;
|
||||
};
|
||||
|
||||
#endif /* D_A_TAG_STREAM_H */
|
||||
|
||||
Reference in New Issue
Block a user