OutpostUniverse / OP2Utility

C++ library for working with Outpost 2 related files and tasks.
MIT License
4 stars 0 forks source link

Add get archive filenames #214

Closed DanRStevens closed 5 years ago

DanRStevens commented 5 years ago

While doing some debugging recently, I found there was no easy way to get a list of all currently loaded archive filenames. I added this method to help.

Related, I noticed there was no way to add custom archives to the list after creating the ResourceManager object. Not sure which features are worthy of inclusion though. There's something to be said for keeping things minimal.

DanRStevens commented 5 years ago

Oh geeze, thanks. That was careless of me. I was making the change on the submodule copy of the project, which defaults to a detached head mode. When I went to commit, I stashed the changes, created a new branch off of master, and applies the changes there. For some reason I didn't think to update the local master first, which was seriously behind the remote master. Normally master is updated by pull, which does both a fetch and a merge. Seems the submodule update only does the fetch. Guess I need a bit more practice working on projects as submodules.