zinnschlag/openmw — pull request #248 by ChrisKCat (2012-07-10 12:05:21+00:00)
Title: Nif cleanup

This cleans up NIFFile and some related structs. It's changed to use Ogre::DataStreamPtr instead of the Mangle VFS (which was written in a way to require the Ogre implementation anyway).

It also fixes the reliance on structure packing and use on little-endian machines. As a result, it can now use Ogre's Vector and Matrix implementations for the NIF structures.

With this done, I can start work on redoing the NIFLoader class so that resource loading is properly modularized, which will lead to getting animations loaded into Ogre.