NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
f_list_nd_prio.hpp
1#pragma once
2#include <types.h>
4#include <dol/framework/f_list_nd.hpp>
5
9class fLiNdPrio_c : public fLiNdBa_c {
10public:
11
14 fLiNdPrio_c(fBase_c *owner) : fLiNdBa_c(owner), mOrder(0), mNewOrder(0) {}
15
16 fLiNdPrio_c *getPrev() const {
17 return (fLiNdPrio_c *) fLiNdBa_c::getPrev();
18 }
19
20 fLiNdPrio_c *getNext() const {
21 return (fLiNdPrio_c *) fLiNdBa_c::getNext();
22 }
23
24 u16 getOrder() const {
25 return mOrder;
26 }
27
28 u16 getNewOrder() const {
29 return mNewOrder;
30 }
31
32 u16 mOrder;
34};
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
A base list node, with priority fields for reordering.
u16 mNewOrder
The priority the node should change to if it differs from mOrder.
u16 mOrder
The priority of this node. Lower values mean higher priority.
fLiNdPrio_c(fBase_c *owner)
Constructs a new list node.