L3DT documentation
Large 3D terrain generator



Retrieve the list of available formats for a particular map type or map name.

Function prototype

ZLIST CExtAPI::format_GetFormatList(const char* lpMapName, long MapTypeID);


Name Type Comment
lpMapName const char* A handle to a C-style string containing the name of the map for which the format list will be retrieved (may be null). See project_GetMap for list of valid names.
MapTypeID long The map type ID for which the format list will be retrieved (may be zero). See here for a list of valid values.

Return value

A null pointer if an error occurred, and a valid non-null handle to a ZLIST variable otherwise.


lpMapName and MapTypeID

Please refer to format_GetFormatByExt for comments regarding the proper use of lpMapName and MapTypeID.

zeolite/functions/format_getformatlist.txt · Last modified: 2017/08/31 07:06 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki