Table of Contents
Write a map data tile to an open HF2/HFZ file. This function uses a smaller memory block (tile-sized) for loading the map data, as opposed to the complete memory block (map-sized) used in hfzWriteTile.
long hfzWriteTile2(hfzFile* fs, hfzHeader& fh, long TileX, long TileY, float* pTileData);
LIBHFZ_STATUS_OK if the tile was written successfully, and otherwise an error code. Use hfzGetErrorStr to retrieve the error description.
Please refer to the HF2 file specification for the required tile order.
Please refer to hfzReadTile2 comments for information regarding the correct initialisation and use of pTileData.
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported