NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
dResMng_c::resCallback_c Class Reference
Inheritance diagram for dResMng_c::resCallback_c:
[legend]

Description

A callback class for processing resources that handles loading g3d data.

Definition at line 12 of file d_res_mng.hpp.

Public Member Functions

virtual void init (const char *name)
 Initializes the callback with the resource name.
 
virtual void * execute (void *data, u32 folderSig)
 Executes the callback.
 
virtual void init (const char *name)=0
 Initializes the callback with the resource name.
 
virtual void * execute (void *data, u32 folderSig)=0
 Executes the callback.
 

Member Function Documentation

◆ init()

void dResMng_c::resCallback_c::init ( const char *  name)
virtual

Initializes the callback with the resource name.

Implements dRes_c::callback_c.

Definition at line 15 of file d_res_mng.cpp.

◆ execute()

void * dResMng_c::resCallback_c::execute ( void *  data,
u32  folderSig 
)
virtual

Executes the callback.

Parameters
dataThe resource data.
folderSigThe first 4 characters of the folder name.
Returns
The resource data.

Implements dRes_c::callback_c.

Definition at line 17 of file d_res_mng.cpp.