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 23 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, const char *path)
 Executes the callback.
 
- Public Member Functions inherited from dRes_c::callback_c

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 16 of file d_res_mng.cpp.

◆ execute()

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

Executes the callback.

Parameters
dataThe resource data.
folderSigThe first 4 characters of the folder name.
pathThe path to the current resource.
Returns
The resource data.

Implements dRes_c::callback_c.

Definition at line 18 of file d_res_mng.cpp.