residualvm/residualvm — pull request #666 by klusark (2012-11-18 17:21:43+00:00)
Title: EMI: Load TIL files correctly

This uses the data in the TIL to position the bitmaps instead of the way we made up to do it. This makes it call the exact same OpenGL functions that Monkey4.exe does.

The only problems I see with it are that there is no TinyGL version, because I don't know TinyGL enough and that I had to make BitmapData in Bitmap no longer private, or add a large number of accessor functions. If anyone can solve either of those problems that would be awesome.

I should be able to have the simulated depth that emi uses working soon as all the information is loaded. I just need to figure out the order to draw things.