mirror of
https://github.com/zeldaret/ss
synced 2026-07-09 14:15:23 -04:00
d_room OK
This commit is contained in:
+1
-1
@@ -432,7 +432,7 @@ config.libs = [
|
||||
Object(NonMatching, "d/d_stage_mgr.cpp"),
|
||||
Object(NonMatching, "d/d_last.cpp"),
|
||||
Object(NonMatching, "d/d_stage.cpp"),
|
||||
Object(NonMatching, "d/d_room.cpp"),
|
||||
Object(Matching, "d/d_room.cpp"),
|
||||
Object(NonMatching, "d/d_cs_base.cpp"),
|
||||
Object(NonMatching, "d/d_cs_game.cpp"),
|
||||
Object(Matching, "d/d_sc_title.cpp"),
|
||||
|
||||
@@ -99,7 +99,6 @@ public:
|
||||
mBpntCount(0),
|
||||
mAreaCount(0),
|
||||
mFlags(0) {}
|
||||
virtual ~dRoom_c() {}
|
||||
|
||||
virtual int create() override;
|
||||
virtual int doDelete() override;
|
||||
|
||||
@@ -12,14 +12,24 @@ public:
|
||||
/* 0x0C */ UNKWORD field_0x0C;
|
||||
};
|
||||
|
||||
class UnkWithWater {
|
||||
class UnkWithWaterBase {
|
||||
public:
|
||||
UnkWithWaterBase() : field_0x04(0), field_0x08(0) {}
|
||||
virtual void calc() = 0;
|
||||
|
||||
private:
|
||||
/* 0x04 */ UNKWORD field_0x04;
|
||||
/* 0x08 */ UNKWORD field_0x08;
|
||||
};
|
||||
|
||||
class UnkWithWater : public UnkWithWaterBase {
|
||||
public:
|
||||
typedef TList<UnkWithWaterNode, offsetof(UnkWithWaterNode, mNode)> NodeList;
|
||||
|
||||
UnkWithWater() : field_0x04(0), field_0x08(0) {}
|
||||
UnkWithWater() {}
|
||||
virtual ~UnkWithWater() {
|
||||
remove();
|
||||
}
|
||||
virtual void calc() override;
|
||||
|
||||
static bool linkMdl(nw4r::g3d::ResMdl &mdl, UnkWithWater *thing);
|
||||
bool hasLinks() const {
|
||||
@@ -29,8 +39,6 @@ public:
|
||||
private:
|
||||
void remove();
|
||||
|
||||
/* 0x04 */ UNKWORD field_0x04;
|
||||
/* 0x08 */ UNKWORD field_0x08;
|
||||
/* 0x0C */ NodeList mList;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user