d_a_obj_megami_island OK (#81)

* d_a_obj_megami_island OK

* rename
This commit is contained in:
robojumper
2024-10-26 14:08:11 +02:00
committed by GitHub
parent 361fed8dfc
commit 9feb1933b7
6 changed files with 159 additions and 18 deletions
+20
View File
@@ -2,13 +2,33 @@
#define D_A_OBJ_MEGAMI_ISLAND_H
#include "d/a/obj/d_a_obj_base.h"
#include "d/col/bg/d_bg_w.h"
#include "m/m3d/m_anmtexsrt.h"
#include "m/m3d/m_smdl.h"
#include "nw4r/g3d/g3d_resfile.h"
class dAcOmegamiIsland_c : public dAcObjBase_c {
public:
dAcOmegamiIsland_c() {}
virtual ~dAcOmegamiIsland_c() {}
bool createHeap() override;
int create() override;
int doDelete() override;
int actorExecute() override;
int draw() override;
private:
bool hasGoddessStatueFallen();
inline u8 getVariant() const {
return params & 3;
}
/* 0x330 */ nw4r::g3d::ResFile mRes;
/* 0x334 */ m3d::smdl_c mMdls[2];
/* 0x36C */ dBgW mBgW;
/* 0x57C */ m3d::anmTexSrt_c mAnm;
/* 0x5A8 */ u8 mVariant;
};
#endif
+4
View File
@@ -183,6 +183,10 @@ public:
field_0x24 |= 2;
}
void OnFlag0x20() {
field_0x24 |= 0x20;
}
cPartition &GetPartition() {
return mPartitionInfo;
}