L3DT documentation
Large 3D terrain generator



Retrieve the full pathname of the file in which a given map has been saved (for example, C:\My maps\map1.hff).


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

const char* zmap_GetFilename(ZMAP hMap);


Name Type Comment
hMap ZMAP A ZMAP handle to a map variable, the saved filename of which is to be retrieved.

Return value

A null pointer if the map has not yet been saved or an error occurred, and otherwise a valid non-null handle to a C-style string containing the full path of the file in which the map has been saved.

If the map is a mosaic map, this function will return the filename of the mosaic master file (.mmf).



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