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 <game/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
29 void removeSelf();
30
32};
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:119
A base list node.
Definition f_list_nd.hpp:11
void removeSelf()
Removes this node from the owner's mUnusedList.
Definition f_list.cpp:73
fBase_c * mpOwner
The owner of this node.
Definition f_list_nd.hpp:31
fLiNdBa_c(fBase_c *owner)
Constructs a new list node.
Definition f_list_nd.hpp:16