Mount Fuji Engine  0.8b
MF_API int MFModule_RegisterModule ( const char *  pModuleName,
MFInitCallback pInitFunction,
MFDeinitCallback pDeinitFunction,
uint64  prerequisites = 0 
)

Registers a Fuji module to be initialised during the startup process.

Parameters
pModuleNameThe name of the module.
pInitFunctionModule init function callback.
pDeinitFunctionModule deinit function callback.
prerequisitesA bitfield of modules that must be loaded prior to this module.
Returns
An ID identifying the module.