mirror of
https://github.com/zeldaret/ss
synced 2026-07-06 21:22:43 -04:00
3b5a959d1b
* dCsBase_c mostly done * dCsGame_c state funcs * More labels * Idk anymore * label ctor * Move some code * Add offsets, fix EffectsStruct misconception
36 lines
691 B
C++
36 lines
691 B
C++
#include "d/lyt/d_structd.h"
|
|
|
|
namespace d2d {
|
|
|
|
dLytStructDList::dLytStructDList() {
|
|
field_0x18 = true;
|
|
sInstance = this;
|
|
}
|
|
|
|
dLytStructDList *dLytStructDList::create(EGG::Heap *heap) {
|
|
return new (heap) dLytStructDList();
|
|
}
|
|
|
|
void dLytStructDList::appendToList1(dLytStructC *other) {
|
|
mList1.insert(other);
|
|
}
|
|
|
|
void dLytStructDList::removeFromList1(dLytStructC *other) {
|
|
mList1.remove(other);
|
|
}
|
|
|
|
void dLytStructDList::appendToList2(dLytStructD *other) {
|
|
mList2.insert(other);
|
|
}
|
|
|
|
void dLytStructDList::removeFromList2(dLytStructD *other) {
|
|
mList2.remove(other);
|
|
}
|
|
|
|
dLytStructD::~dLytStructD() {
|
|
delete[] field_0x1C;
|
|
field_0x1C = nullptr;
|
|
}
|
|
|
|
} // namespace d2d
|