mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
32 lines
629 B
C++
32 lines
629 B
C++
#ifndef D_LEVEL_SE_H
|
|
#define D_LEVEL_SE_H
|
|
|
|
#include "f_op/f_op_kankyo.h"
|
|
#include "SSystem/SComponent/c_lib.h"
|
|
|
|
class dLevelSe_c : public kankyo_class {
|
|
public:
|
|
/* 0xF8 */ u32 field_0xf8;
|
|
/* 0xFC */ s8 mReverb;
|
|
/* 0xFD */ u8 mFlag;
|
|
/* 0xFE */ u8 field_0xfe;
|
|
/* 0xFF */ u8 field_0xff;
|
|
|
|
public:
|
|
inline void setReverb(u32 value, s8 reverb) {
|
|
field_0xf8 = value;
|
|
mReverb = reverb;
|
|
cLib_onBit(mFlag, (u8)4);
|
|
}
|
|
|
|
inline void seStart() {
|
|
cLib_offBit(mFlag, (u8)8);
|
|
}
|
|
|
|
inline void seStop() {
|
|
cLib_onBit(mFlag, (u8)8);
|
|
}
|
|
};
|
|
|
|
#endif /* D_LEVEL_SE_H */
|