Helion
Helion copied to clipboard
Assets.pk3 and its contents get parsed twice
I noticed this while messing with font loading. It looks like Assets.pk3 gets loaded and parsed during client init: https://github.com/Helion-Engine/Helion/blob/b4101663e062b21b0afc0c066fa42534d44e0917/Client/Client.Initialize.cs#L24
And then it gets loaded again as a consequence of this call, after the IWAD is selected. https://github.com/Helion-Engine/Helion/blob/b4101663e062b21b0afc0c066fa42534d44e0917/Client/Client.Initialize.cs#L41
This means that the font-to-bitmap generation stuff gets run twice, which is actually how I noticed it.