Table of Contents
format_GetFormatByExtDescriptionRetrieve a handle to a format, specified by its file extension, for a particular map type or map name. Function prototypeZFORMAT CExtAPI::format_GetFormatByExt(const char* lpMapName, long MapTypeID, const char* lpFileExt); Arguments
Return valueA null pointer if an error occurred, and a valid non-null handle to a ZFORMAT variable otherwise. CommentslpMapName and MapTypeIDIt is not necessary to specify both lpMapName and MapTypeID arguments. Zeolite will search for the specified format first by the map name (if lpMapName is valid), and then by map type (if MapTypeID is valid). You should use lpMapName if you are loading or saving one of the maps in the project. If you are loading/saving a generic map (e.g. a heightfield overlay), then you should use MapTypeID. Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|