#include <nitro/env.h>
void ENV_SetResourceArray( ENVResource* resourceArray );
resourceArray | The pointer to the resource array. |
The pointer to the resource array that was set previously.
This function sets the resource array used in searching for resources.
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_SetResourceArray( myResource );
:
08/16/2005 Initial version.