ENV_SetResourceSet

C Specification

#include <nitro/env.h>
void ENV_SetResourceSet( ENVResource* resourceSet );
  

Arguments

resourceSet The pointer to the resource array.

Return Values

None.

Description

This function sets the resource array used in searching for resources.

Any resource arrays that have been set prior to this point are removed from the search target and 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 );
:


See Also

ENV_Init
ENV_AppendResourceSet, ENV_PrependResourceSet, ENV_InsertResourceSet,

Revision History

2005/12/02 Deleted disabled links.
08/16/2005 Initial release.