mocha-engine / mocha

Mocha: A work-in-progress 3D game engine
GNU Lesser General Public License v3.0
53 stars 7 forks source link

Add MochaFile support to mmdl #18

Closed peter-r-g closed 1 year ago

peter-r-g commented 1 year ago

This PR makes compiled mmdls support the MochaFile format. With this, they can now skip compilation when not needed. Currently, the asset hash is only formed from the mmdl file. In the future, it should also take into account the source files it references in the JSON object.

xezno commented 1 year ago

LGTM, merging. Thanks again Gooman! 👍