NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
fLiNdPrio_c Class Reference

#include <game/framework/f_list_nd_prio.hpp>

Inheritance diagram for fLiNdPrio_c:
[legend]

Description

A base list node, with priority fields for reordering.

Unofficial name.

Definition at line 9 of file f_list_nd_prio.hpp.

Public Member Functions

 fLiNdPrio_c (fBase_c *owner)
 Constructs a new list node.
 
fLiNdPrio_cgetPrev () const
 
fLiNdPrio_cgetNext () const
 
u16 getOrder () const
 
u16 getNewOrder () const
 
- Public Member Functions inherited from fLiNdBa_c
 fLiNdBa_c (fBase_c *owner)
 Constructs a new list node.
 
fLiNdBa_cgetPrev () const
 
fLiNdBa_cgetNext () const
 
void removeSelf ()
 Removes this node from the owner's mUnusedList.
 
- Public Member Functions inherited from cListNd_c
 cListNd_c ()
 Constructs a new list node.
 
cListNd_cgetPrev () const
 
cListNd_cgetNext () const
 

Public Attributes

u16 mOrder
 The priority of this node. Lower values mean higher priority.
 
u16 mNewOrder
 The priority the node should change to if it differs from mOrder.
 
- Public Attributes inherited from fLiNdBa_c
fBase_cmpOwner
 The owner of this node.
 

Additional Inherited Members

- Protected Attributes inherited from cListNd_c
cListNd_cmpPrev
 The previous node.
 
cListNd_cmpNext
 The next node.
 

Constructor & Destructor Documentation

◆ fLiNdPrio_c()

fLiNdPrio_c::fLiNdPrio_c ( fBase_c * owner)
inline

Constructs a new list node.

Parameters
ownerThe node's owner.

Definition at line 14 of file f_list_nd_prio.hpp.

Member Function Documentation

◆ getPrev()

fLiNdPrio_c * fLiNdPrio_c::getPrev ( ) const
inline

Definition at line 16 of file f_list_nd_prio.hpp.

◆ getNext()

fLiNdPrio_c * fLiNdPrio_c::getNext ( ) const
inline

Definition at line 20 of file f_list_nd_prio.hpp.

◆ getOrder()

u16 fLiNdPrio_c::getOrder ( ) const
inline

Definition at line 24 of file f_list_nd_prio.hpp.

◆ getNewOrder()

u16 fLiNdPrio_c::getNewOrder ( ) const
inline

Definition at line 28 of file f_list_nd_prio.hpp.

Member Data Documentation

◆ mOrder

u16 fLiNdPrio_c::mOrder

The priority of this node. Lower values mean higher priority.

Definition at line 32 of file f_list_nd_prio.hpp.

◆ mNewOrder

u16 fLiNdPrio_c::mNewOrder

The priority the node should change to if it differs from mOrder.

Definition at line 33 of file f_list_nd_prio.hpp.