L3DT documentation
Large 3D terrain generator



Change the file format used to save a map to disk. This function will re-save the map in the new format, and change the file extension if necessary.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_SetFormat(ZMAP hMap, ZFORMAT hFormat);


Name Type Comment
hMap ZMAP A ZMAP handle to a map variable, the saved file format of which is to be changed.
hFormat ZFORMAT A ZFORMAT handle to the file format variable that shall be used to save the map.

Return value

False if an error occurred, and true otherwise.


This function will fail if the map has not yet been saved (use zmap_SaveFile in this case). This condition does not apply to mosaic maps, which are always saved to disk.

zeolite/functions/zmap_setformat.txt · Last modified: 2017/08/31 06:25 (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