Commit Graph

22 Commits

Author SHA1 Message Date
fa7025f774 Split out sized buffer type and added tests. Modified reader to better utilise sized buffer. Debugged and working at least as well as previous. 2022-09-09 14:59:56 +10:00
392e226013 Still haven't properly tested MetaTree. But have all of the current features working together. 2022-09-08 19:41:27 +10:00
abc9cf6a61 Tree builder not crashing, need to check functional correctness. 2022-09-08 12:54:37 +10:00
2d5c85f0e8 A little more formatting. 2022-09-08 12:30:59 +10:00
ff95aeafbf A lot of formatting and an untested implementation of espr_create_tree. 2022-09-08 12:23:16 +10:00
4d7bdcf3cc Fixed a bug in espr_stats where the esp_stats structure was not being properly initialised.
Also, significantly sped up the header printing functions.
2022-09-07 20:56:43 +10:00
de1a27e337 Added a few more comments. Changed rt_hash to return an enum record_type rather than an enum record_type_hash. Modified rfs and rfs_refr to suit. 2022-09-07 10:09:25 +10:00
86d2c1a002 Formatting fixes. 2022-09-07 09:39:13 +10:00
380c623776 Added ESPTree header, which will handle the meta tree structure created on top of the esp/esm file buffer. Added editorconfig for column guidelines. 2022-09-07 09:32:28 +10:00
373d799f97 Fixed misuse of _ in variables. Re-added NONE to record_type enum, as it is required for rth2rt. 2022-09-06 19:12:28 +10:00
5471bcf102 Reformatting. 2022-09-06 18:45:31 +10:00
7063f4b763 Moved RT_HASH enum into LUT.c as it shouldn't be directly accessible. 2022-09-06 18:09:13 +10:00
027c9fa999 Cleaned up repository and add licensing notices to files. Project licensed under Mozilla Public License. 2022-09-06 17:37:04 +10:00
03da61a716 Added comment about RT hash. Fixed memory leak in NavmeshList main. 2022-09-06 17:08:57 +10:00
f78bcbf8f8 Remove zlib/ 2022-09-06 16:30:29 +10:00
e9798984ff Modified walker with pre/post walk callbacks and a carry_out/carry_in ptr that can be used to transfer data from pre to post. 2022-09-06 16:03:45 +10:00
ed613db39e Half implemented decompression. Need to figure out how to handle group size adjustment on decompressed data. 2022-09-05 21:01:26 +10:00
10f9c50674 Implemented FormID counter. 2022-09-05 20:14:34 +10:00
148a999953 Implemented walker overlay that calculates decompressed size. 2022-09-05 20:04:54 +10:00
ab921e5059 Flehsed out esp walker with callback interface. Implemented header printer using walker. 2022-09-05 19:52:06 +10:00
20d29ea721 Fixed group traversal bug. Added ACHR flag "Unknown 30". All non-REFR flags checked. 2022-09-05 15:29:29 +10:00
62cdc57333 Add project files. 2022-09-05 13:51:05 +10:00