L3DT documentation
Large 3D terrain generator

hfzHeader_Reset

Description

Reset the contents of a hfzHeader struct and release any allocated memory.

Function prototype

void hfzHeader_Reset(hfzHeader &fh); // clears mem in ext header buf and restores defaults

Arguments

Name Type Description
fh hfzHeader& The hfzHeader struct to be reset.

Return value

None (void).

Comments

It is recommended this function be called after using hfzReadHeader or hfzReadHeader2 (once the header is no longer needed), as both of these functions may allocate memory in the header struct.

 
libhfz/functions/hfzheader_reset.txt · Last modified: 2017/08/31 05: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