mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
Lv5key / Iceblock done (#2177)
* obj_lv5key * obj_iceblock done * remove asm
This commit is contained in:
@@ -105,7 +105,7 @@ public:
|
||||
void MoveBgMatrixCrrPos(cBgS_PolyInfo const&, bool, cXyz*, csXyz*, csXyz*);
|
||||
void RideCallBack(cBgS_PolyInfo const&, fopAc_ac_c*);
|
||||
void ArrowStickCallBack(cBgS_PolyInfo const&, fopAc_ac_c*, cXyz&);
|
||||
bool PushPullCallBack(cBgS_PolyInfo const&, fopAc_ac_c*, s16, dBgW_Base::PushPullLabel);
|
||||
fopAc_ac_c* PushPullCallBack(cBgS_PolyInfo const&, fopAc_ac_c*, s16, dBgW_Base::PushPullLabel);
|
||||
|
||||
bool WaterChk(dBgS_SplGrpChk* chk) { return SplGrpChk(chk); }
|
||||
u32 GetMtrlSndId(cBgS_PolyInfo* param_0) { return dKy_pol_sound_get(param_0); }
|
||||
|
||||
@@ -18,14 +18,18 @@ class fopAc_ac_c;
|
||||
class dBgW_Base : public cBgW_BgId {
|
||||
public:
|
||||
enum PushPullLabel {
|
||||
PUSHPULL_LABEL1 = 1,
|
||||
PPLABEL_NONE = 0,
|
||||
PPLABEL_PUSH = 1,
|
||||
PPLABEL_PULL = 2,
|
||||
PPLABEL_4 = 4,
|
||||
PPLABEL_HEAVY = 8,
|
||||
};
|
||||
|
||||
enum PRIORITY {
|
||||
PRIORITY_0,
|
||||
};
|
||||
|
||||
typedef bool (*PushPull_CallBack)(fopAc_ac_c*, fopAc_ac_c*, s16,
|
||||
typedef fopAc_ac_c* (*PushPull_CallBack)(fopAc_ac_c*, fopAc_ac_c*, s16,
|
||||
dBgW_Base::PushPullLabel);
|
||||
|
||||
/* 8007E5A8 */ dBgW_Base();
|
||||
@@ -103,6 +107,8 @@ public:
|
||||
void SetPriority(PRIORITY priority) { m_priority = priority; }
|
||||
void onStickWall() { field_0xb |= 1; }
|
||||
void onStickRoof() { field_0xb |= 2; }
|
||||
void OnPushPullOk() { m_pushPull_Ok = true; }
|
||||
void OffPushPullOk() { m_pushPull_Ok = false; }
|
||||
|
||||
private:
|
||||
/* 0x08 */ u8 m_priority;
|
||||
|
||||
Reference in New Issue
Block a user