L3DT documentation
Large 3D terrain generator

hfzWriteHeader

Description

Write a header to an open HF2/HFZ file.

Function prototype

long hfzWriteHeader(hfzFile* fs, hfzHeader& fh);

Arguments

Name Type Description
fs hfzFile* A handle to an open hfzFile struct (see hfzOpen).
fh hfzHeader& The hfzHeader struct to be written to the file.

Return value

LIBHFZ_STATUS_OK if the header was written successfully, and otherwise an error code. Use hfzGetErrorStr to retrieve the error description.

Comments

None.

 
libhfz/functions/hfzwriteheader.txt · Last modified: 2017/08/31 06:47 (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