I AM STARTING OVER
The single extension file is almost 6000 lines of MESSY code.
I really need to redesign the extension.
The current version has evolved from a lot of blocks to helperblocks to exotic & special blocks to fewer blocks and even more cryptic blocks.
What is worse is that there are three different techniques used in the block&extension-code which doesn't help in debugging and further development.
The last thing I worked on is a kind of Resource Manager where previous work on the different file loaders are combined and it produced about 1000 lines of code that probably can be refactored.
I hate starting over because that has a tendency of being done so many times that it effectively never gets to a completion.
What I do know is that I have learned a lot more about this stuff while creating the current thing, so I hope that it helps me creating a bit better code.
We will see.
I leave you with the state of the current extension and will work on redesigning everything!
Resource Loader / Manager : OBJ static objects, Quake 2 and Doom 3 animations