mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-25 15:05:06 -04:00
178194ccb2
* switch to dtk setup * some cleanup / fixes * cleanup d_a_alink literals * Restore doxygen, update CI & README.md (#1) * Fix build image ref (#2) --------- Co-authored-by: Luke Street <luke@street.dev>
44 lines
737 B
C++
44 lines
737 B
C++
#ifndef D_A_ANDSW_H
|
|
#define D_A_ANDSW_H
|
|
|
|
#include "d/d_com_inf_game.h"
|
|
|
|
/**
|
|
* @ingroup actors-unsorted
|
|
* @class daAndsw_c
|
|
* @brief
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
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 */
|