How to use:
Code: Select all
HaloMap *myMap = ParseHaloMapFromFileWithPlugins("/path/to/a/map/file/bloodgulch.map", "/path/to/the/folder/with/entity/plugins/in/it");
If something doesn't seem to work, check that you are supplying a valid halo full/retail map and the plugin directory is the one containing all the plugins, it doesn't go looking so you need to provide the immediate folder. To access tags, they are are an array in the struct HaloMap called "struct MapTags *tags;"
Code: Select all
myMap->tags[tagnumber]
Code: Select all
myMap->index->tagCount