NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
list.hpp File Reference

Go to the source code of this file.

Classes

struct  nw4hbm::ut::Link
 See nw4r::ut::Link. More...
 
struct  nw4hbm::ut::List
 See nw4r::ut::List. More...
 

Functions

void nw4hbm::ut::List_Init (List *list, u16 offset)
 See include/lib/nw4r/ut/list.hpp.
 
void nw4hbm::ut::List_Append (List *list, void *obj)
 See include/lib/nw4r/ut/list.hpp.
 
void nw4hbm::ut::List_Remove (List *list, void *obj)
 See include/lib/nw4r/ut/list.hpp.
 
void * nw4hbm::ut::List_GetNext (const List *list, const void *obj)
 See include/lib/nw4r/ut/list.hpp.
 
void * nw4hbm::ut::List_GetNth (const List *list, u16 n)
 Gets the nth linked object, starting from the top of the list.
 

Function Documentation

◆ List_Init()

void nw4hbm::ut::List_Init ( List * list,
u16 offset )

See include/lib/nw4r/ut/list.hpp.

Definition at line 8 of file list.cpp.

◆ List_Append()

void nw4hbm::ut::List_Append ( List * list,
void * obj )

See include/lib/nw4r/ut/list.hpp.

Definition at line 15 of file list.cpp.

◆ List_Remove()

void nw4hbm::ut::List_Remove ( List * list,
void * obj )

See include/lib/nw4r/ut/list.hpp.

Definition at line 40 of file list.cpp.

◆ List_GetNext()

void * nw4hbm::ut::List_GetNext ( const List * list,
const void * obj )

See include/lib/nw4r/ut/list.hpp.

Definition at line 67 of file list.cpp.

◆ List_GetNth()

void * nw4hbm::ut::List_GetNth ( const List * list,
u16 n )

Gets the nth linked object, starting from the top of the list.

Returns nullptr if the index is not valid.

Definition at line 75 of file list.cpp.