Files
ss/src/d/lyt/d_structd.cpp
T
robojumper 3b5a959d1b Cursor chaos (#71)
* dCsBase_c mostly done

* dCsGame_c state funcs

* More labels

* Idk anymore

* label ctor

* Move some code

* Add offsets, fix EffectsStruct misconception
2024-10-20 10:01:00 -04:00

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