LazyDuchess / OpenTS2

Open source re-implementation of The Sims 2 in Unity
Mozilla Public License 2.0
221 stars 17 forks source link

Add support for deserializing Scenegraph LIFO blocks. #24

Closed ammaraskar closed 1 year ago

ammaraskar commented 1 year ago

This adds the ability for ScenegraphTextureAsset to start pulling in data from these LIFO blocks for larger images. ScenegraphTextureAsset calls the provided ContentProvider to resolve the LIFO asset and then uses the loaded data.

LazyDuchess commented 1 year ago

Looks good!

LazyDuchess commented 1 year ago

Also, I believe we should probably use ContentProvider.Get as much as possible, I don't think it's likely we'll ever need to have multiple of them.