Table of Contents
format_CreateGenericDescriptionCreate an instance of a file format handler for a particular map type. This function, or format_Create, must be called at least once by a file input/output plugin before it can be used to save or load map files. Function prototypeZFORMAT CExtAPI::format_CreateGeneric(long MapTypeID, const char* lpLongName, const char* lpFileExt, const char* lpNativeProgramName); Arguments
Return valueNull if an error occurred or the format already existed, and otherwise a valid ZFORMAT handle. CommentsComparison with format_CreateThe difference between this function and format_Create is perhaps best explained by examples of the usage of the ZFORMATs created by these functions:
Even though the texture and light maps are actually of type MAP_24bit, they have their own format settings (created by format_Create) so that the user can set specific formation options for them. Alpha map formatsThe Alpha map export from L3DT uses the lists of formats created for the MAP_BYTE, MAP_24bit, and MAP_DWORD types. MAP_BYTE is used for one layer/image, MAP_24bit for three, and MAP_DWORD for four. Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|