mirror of
https://github.com/zeldaret/ss
synced 2026-07-07 05:24:55 -04:00
More d/lyt (#52)
* More Lyt (maybe some wrong type associations) * more meter * Rename * More splits and renames * Fix SizedString conversion operators * Renames * dLytBattery_c almost OK * d_lyt_battery OK * diff clean * Continue doing splits while I'm at it * two more splits
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#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(dLytStructD *other) {
|
||||
mList1.insert(other);
|
||||
}
|
||||
|
||||
void dLytStructDList::removeFromList1(dLytStructD *other) {
|
||||
mList1.remove(other);
|
||||
}
|
||||
|
||||
void dLytStructDList::appendToList2(dLytStructD *other) {
|
||||
mList2.insert(other);
|
||||
}
|
||||
|
||||
void dLytStructDList::removeFromList2(dLytStructD *other) {
|
||||
mList2.remove(other);
|
||||
}
|
||||
|
||||
} // namespace d2d
|
||||
Reference in New Issue
Block a user