====== LibHFZ ====== LibHFZ is a small set of functions that implement support for the HF2/HFZ [[:l3dt:formats:specs:hf2|compressed heightfield file]] format. LibHFZ is written in the C programming language, and is free for use under the [[http://www.gnu.org/licenses/lgpl.html|LGPL]]. ^ Latest version | v1.4.3 | ^ Release date | 10th of August 2009 | ===== LibHFZ links ===== * [[libhfz:downloads|Download / change log]] * [[libhfz:functions|Function reference]] * [[libhfz:examples|Examples]] * [[libhfz:buglist|Bug list]] * [[l3dt:formats:specs:hf2|HF2/HFZ format specification]] ===== LibHFZ news ===== ==== 10th of August, 2009 ==== * Uploaded [[libhfz:downloads#v1.4.3|LibHFZ 1.4.3]], with change to implementation of [[libhfz:functions:hfzLoad]] and [[libhfz:functions:hfzLoadEx]] functions such that the file header argument is nulled with a call to [[libhfz:functions:hfzHeader_Init]] rather than [[libhfz:functions:hfzHeader_Reset]]. Callers are now responsible for ensuring that headers have been reset if they have been initialised prior to any calls to [[libhfz:functions:hfzLoad]] / [[libhfz:functions:hfzLoadEx]] (//Thanks Enge!//) ==== 16th of April, 2009 ==== * Uploaded [[libhfz:downloads#v1.4.2|LibHFZ 1.4.2]], with fix for return value of [[libhfz:functions:hfzRead]] when in binary mode (//Thanks Joe!//) ==== 7th of September, 2008 ==== * Uploaded [[libhfz:downloads#v1.4.1|LibHFZ 1.4.1]], with fixes for memory leaks in [[libhfz:functions:hfzReadHeader]] and [[libhfz:functions:hfzByteSwap]] ([[http://www.bundysoft.com/phpBB2/viewtopic.php?p=5314#5314|Thanks Gregery!]]) ==== 13th of September, 2007 ==== * Uploaded [[libhfz:downloads#v1.4|LibHFZ 1.4]], with new [[libhfz:functions:hfzReadTile2]] and [[libhfz:functions:hfzWriteTile2]] functions. ==== 17th of May, 2007 ==== * Uploaded [[libhfz:downloads#v1.3.1|LibHFZ 1.3.1]], with critical bugfix for [[libhfz:functions:hfzWriteTile]] function. ==== 17th of May, 2007 ==== * Uploaded [[libhfz:downloads#v1.3|LibHFZ 1.3]], with abstracted memory and I/O function calls. ==== 12th of May, 2007 ==== * Uploaded [[libhfz:downloads#v1.2.1|LibHFZ 1.2.1]], with modified progress callbacks (added callback param). ==== 30th of April, 2007 ==== * Uploaded [[libhfz:downloads#v1.2|LibHFZ 1.2]], with progress callbacks and endian-handling. ==== 10th of April, 2007 ==== * Added some [[libhfz:examples]]. ==== 9th of April, 2007 (later) ==== * Uploaded [[libhfz:downloads#v1.1.1|LibHFZ 1.1.1]], with critical bugfix for [[libhfz:functions:hfzExtHeaderBlock_Init]] function. ==== 9th of April, 2007 ==== * Uploaded [[libhfz:downloads#v1.1|LibHFZ 1.1]], with easier extended header reading/writing. ==== 19th of March, 2007 ==== * Completed [[libhfz:functions|function reference]] pages. * Uploaded [[libhfz:downloads#v1.0.2|LibHFZ 1.0.2]]. ==== 5th of March, 2007 ==== * Uploaded [[libhfz:downloads#v1.0.1|LibHFZ 1.0.1]]. ==== 3rd of March, 2007 ==== * Uploaded [[libhfz:downloads#v1.0|LibHFZ 1.0]]. * Created LibHFZ page. ===== Credits ===== LibHFZ is copyright (C) 2007-2009 Aaron Torpy. LibHFZ uses the [[http://www.zlib.net/|zlib]] library for gzip compression.