[Editor] Add listPrimEntities function
This PR adds a function that is used by Glacier2Obj and NavKit to get the transforms for all requested GeomEntities.
Going to add support for reading includes and excludes for [modules:/zpfboxentity.class].pc_entitytypes
Ready for review. If you approve, feel free to squash merge if you want to avoid cluttering the commit history.
@OrfeasZ I addressed all the PR comments and playtested it with my latest changes to NavKit on the Editor-mod-support branch: https://github.com/glacier-modding/NavKit/tree/Editor-mod-support
Precompiled beta release of NavKit 1.1.0 using the above branch available here: https://github.com/glacier-modding/NavKit/releases/tag/v1.1.0-beta
There is one persistent issue though, if you load into a mission, export to NavKit, then leave the mission, the next time you try to start a mission Hitman will crash. This has been a problem for months now, but I'm not sure how to solve it. I was hoping fixing that memory leak you identified would fix it, but it seems like there's something else going on.