NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
f_list_nd.hpp
1#pragma once
2#include <types.h>
3#include <dol/cLib/c_list.hpp>
4
5class fBase_c;
6
11class fLiNdBa_c : public cListNd_c {
12public:
13
16 fLiNdBa_c(fBase_c *owner) : mpOwner(owner) {}
17
18 inline fLiNdBa_c *getPrev() const {
19 return (fLiNdBa_c *) cListNd_c::getPrev();
20 }
21
22 inline fLiNdBa_c *getNext() const {
23 return (fLiNdBa_c *) cListNd_c::getNext();
24 }
25
28 void removeSelf();
29
31};
A doubly-linked list node. See cListMg_c.
Definition c_list.hpp:7
The base class for all scenes, actors and various other processes.
Definition f_base.hpp:117
A base list node.
Definition f_list_nd.hpp:11
void removeSelf()
Removes this node from the owner's fBase_c::mUnusedList mUnusedList.
Definition f_list.cpp:68
fBase_c * mpOwner
The owner of this node.
Definition f_list_nd.hpp:30
fLiNdBa_c(fBase_c *owner)
Constructs a new list node.
Definition f_list_nd.hpp:16