mirror of
https://github.com/zeldaret/ss
synced 2026-09-09 11:44:32 -04:00
d_t_stream OK
This commit is contained in:
@@ -52,6 +52,14 @@ public:
|
||||
BOOL isLinked() const {
|
||||
return get() != nullptr;
|
||||
}
|
||||
|
||||
dAcRef_c<T> *getPrev() const {
|
||||
return static_cast<dAcRef_c<T> *>(cListNd_c::getPrev());
|
||||
}
|
||||
|
||||
dAcRef_c<T> *getNext() const {
|
||||
return static_cast<dAcRef_c<T> *>(cListNd_c::getNext());
|
||||
}
|
||||
};
|
||||
|
||||
// Ghidra: ActorBase
|
||||
|
||||
@@ -2,13 +2,35 @@
|
||||
#define D_T_STREAM_H
|
||||
|
||||
#include "d/a/d_a_base.h"
|
||||
#include "d/t/d_tg.h"
|
||||
#include "f/f_list_mg.h"
|
||||
#include "f/f_list_nd.h"
|
||||
#include "m/m_mtx.h"
|
||||
|
||||
class dTgStream_c : public dAcBase_c {
|
||||
class dTgStream_c : public dTg_c {
|
||||
public:
|
||||
dTgStream_c() {}
|
||||
dTgStream_c() : mStreamNode(this) {}
|
||||
virtual ~dTgStream_c() {}
|
||||
|
||||
virtual int create() override;
|
||||
virtual int doDelete() override;
|
||||
virtual int actorExecute() override;
|
||||
|
||||
static fLiMgBa_c sStreamList;
|
||||
static fLiMgBa_c sSandStreamList;
|
||||
|
||||
void addToList(fLiMgBa_c &list);
|
||||
|
||||
private:
|
||||
/* 0x0FC */ u8 mSceneflag; ///< Sceneflag to indicate when to flow
|
||||
/* 0x0FD */ u8 mAreaIdx; ///<
|
||||
/* 0x0FE */ u8 mSpeed; ///<
|
||||
/* 0x0FF */ u8 mOrder; ///<
|
||||
/* 0x100 */ u8 mIsSand;
|
||||
/* 0x101 */ u8 field_0x101;
|
||||
/* 0x104 */ mMtx_c mArea;
|
||||
|
||||
/* 0x134 */ fLiNdBa_c mStreamNode;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user