|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/framework/f_line_mg.hpp>
A base list made of fLiMgBa_c nodes, with a reference to a process function.
Definition at line 43 of file f_line_mg.hpp.
Public Member Functions | |
| fLiMgBaFu_c (int(fBase_c::*procFunc)()) | |
| Constructs a new list. | |
| bool | lineListProc () |
| Calls the process function on each base in the list. | |
| Public Member Functions inherited from fLiMgBa_c | |
| int | countNodeByProfName (ProfileName profName) const |
| Counts the number of bases using the given profile name. | |
| const fLiNdBaLink_c * | searchNodeByID (fBaseID_e id) const |
| Searches for a base with the given ID. | |
| fLiNdBaLink_c * | getFirst () const |
| fLiNdBaLink_c * | getLast () const |
| Public Member Functions inherited from cLineMg_c | |
| cLineMg_c () | |
| Constructs a new list container. | |
| bool | insertLineNode (cLineNd_c *node, cLineNd_c *prevNode) |
| Inserts a node after the given previous node. | |
| bool | removeLineNode (cLineNd_c *node) |
| Removes a node from the list. | |
| bool | addLastLineNode (cLineNd_c *node) |
| Adds a node to the end of the list. | |
| bool | addTopLineNode (cLineNd_c *node) |
| Adds a node to the beginning of the list. | |
| cLineNd_c * | getFirst () const |
| cLineNd_c * | getLast () const |
Private Attributes | |
| int(fBase_c::* | mpProcFunc )() |
| The process function for the list. | |
Additional Inherited Members | |
| Protected Attributes inherited from cLineMg_c | |
| cLineNd_c * | mpFirst |
| The first node in the list. | |
| cLineNd_c * | mpLast |
| The last node in the list. | |
|
inline |
Constructs a new list.
| procFunc | The process function, or nullptr. |
Definition at line 48 of file f_line_mg.hpp.
| bool fLiMgBaFu_c::lineListProc | ( | ) |
Calls the process function on each base in the list.
Definition at line 30 of file f_line.cpp.
|
private |
The process function for the list.
Definition at line 55 of file f_line_mg.hpp.