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>
31 lines
668 B
C++
31 lines
668 B
C++
#ifndef D_A_TBOXSW_H
|
|
#define D_A_TBOXSW_H
|
|
|
|
#include "f_op/f_op_actor_mng.h"
|
|
|
|
/**
|
|
* @ingroup actors-unsorted
|
|
* @class daTboxSw_c
|
|
* @brief Treasure Box Switch
|
|
*
|
|
* @details
|
|
*
|
|
*/
|
|
class daTboxSw_c : public fopAc_ac_c {
|
|
public:
|
|
/* 80D66858 */ int Create();
|
|
/* 80D66860 */ int create();
|
|
/* 80D668C8 */ int execute();
|
|
/* 80D66938 */ int draw();
|
|
/* 80D66940 */ int _delete();
|
|
};
|
|
|
|
STATIC_ASSERT(sizeof(daTboxSw_c) == 0x568);
|
|
|
|
namespace daTboxSw_prm {
|
|
inline u8 getTboxNo(daTboxSw_c* p_tbox) { return fopAcM_GetParam(p_tbox) & 0x3F; }
|
|
inline u8 getSwNo(daTboxSw_c* p_tbox) { return fopAcM_GetParam(p_tbox) >> 8; }
|
|
};
|
|
|
|
#endif /* D_A_TBOXSW_H */
|