#include <nitro/env.h>
void ENV_SetResourceSet( ENVResource* resourceSet );
resourceSet | The pointer to the resource array. |
None.
This function sets the resource array used in searching for resources.
Any resource arrays that have been set until this point are removed from the search target, and only the array specified here becomes the target.
Be sure to indicate the end of the resource array with ENV_RESOURCE_END.
(Example)
ENVResource myResouce[] = {
"res.data1", ENV_U32( 300 ),
"res.data2", ENV_U32( 500 ),
"res.data3", ENV_STRING( "abcde" ),
"res.data4", ENV_S32( -100 ),
ENV_RESOUCE_END
};
:
ENV_SetResourceSet( myResource );
:
ENV_Init
ENV_AppendResourceSet, ENV_PrependResourceSet, ENV_InsertResourceSet,
08/16/2005 Initial version.