mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-03 18:03:42 -04:00
d_a_tag_waterlevel
This commit is contained in:
@@ -2,22 +2,36 @@
|
||||
#define D_A_TAG_WATERLEVEL_H
|
||||
|
||||
#include "f_op/f_op_actor.h"
|
||||
#include "d/d_a_obj.h"
|
||||
|
||||
namespace daTagWaterlevel {
|
||||
class Act_c : public fopAc_ac_c {
|
||||
public:
|
||||
void get_now() {}
|
||||
void get_state() {}
|
||||
void prm_get_sch() const {}
|
||||
enum Prm_e {
|
||||
PRM_SCH_W = 8,
|
||||
PRM_SCH_S = 0,
|
||||
};
|
||||
enum State_e {
|
||||
STATE_1 = 1,
|
||||
STATE_2 = 2,
|
||||
};
|
||||
|
||||
static f32 get_now() { return M_now; }
|
||||
static State_e get_state() { return M_state; }
|
||||
inline u8 prm_get_sch() const { return daObj::PrmAbstract(this, PRM_SCH_W, PRM_SCH_S); }
|
||||
|
||||
s32 _create();
|
||||
BOOL _delete();
|
||||
bool _delete();
|
||||
void bgm_proc();
|
||||
BOOL _execute();
|
||||
BOOL _draw();
|
||||
|
||||
bool _execute();
|
||||
bool _draw();
|
||||
|
||||
static State_e M_state;
|
||||
static f32 M_now;
|
||||
|
||||
public:
|
||||
/* Place member variables here */
|
||||
/* 0x290 */ f32 field_0x290;
|
||||
/* 0x294 */ s32 mAction;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -2202,6 +2202,10 @@ inline void dComIfGp_event_offEventFlag(s16 flag) {
|
||||
g_dComIfG_gameInfo.play.getEvent().offEventFlag(flag);
|
||||
}
|
||||
|
||||
inline BOOL dComIfGp_event_chkEventFlag(s16 flag) {
|
||||
return g_dComIfG_gameInfo.play.getEvent().chkEventFlag(flag);
|
||||
}
|
||||
|
||||
inline void dComIfGp_event_remove() {
|
||||
g_dComIfG_gameInfo.play.getEvent().remove();
|
||||
}
|
||||
|
||||
@@ -442,5 +442,6 @@ void dKy_get_seacolor(GXColor* amb, GXColor* dif);
|
||||
cXyz dKy_get_orion_pos();
|
||||
cXyz dKy_get_hokuto_pos();
|
||||
void dKy_DayProc();
|
||||
u8 dKy_get_schbit();
|
||||
|
||||
#endif /* D_KANKYO_D_KANKYO_H */
|
||||
|
||||
@@ -170,4 +170,12 @@ inline void mDoAud_cbPracticeStop() {
|
||||
mDoAud_zelAudio_c::getInterface()->cbPracticeStop();
|
||||
}
|
||||
|
||||
inline void mDoAud_stWaterLevelUp() {
|
||||
mDoAud_zelAudio_c::getInterface()->stWaterLevelUp();
|
||||
}
|
||||
|
||||
inline void mDoAud_stWaterLevelDown() {
|
||||
mDoAud_zelAudio_c::getInterface()->stWaterLevelDown();
|
||||
}
|
||||
|
||||
#endif /* M_DO_AUDIO_H */
|
||||
|
||||
Reference in New Issue
Block a user