Hi (Alexander?), I think I have followed most of your suggestions, and heres the current state of the code. As I said before, I have only tested it on one level of Linux, one version of mesa etc and I've probably broken people who dont have the mesa or opengl libraries - I dont know enough about Linux to sort out the makefile and config tests which might be required, sorry. There's still a lot of things I am fiddling with, and parts are broken (esp. mode handling), but it would give a base for people to start patching off. Ideally long term we can code up flatten/unflatten type routines to have common code between ddraw and dx8 - I think this is where the hal comes inb. However if we know exactly what calls need making, moving them shouldnt be too difficult. Unfortunately it is nowhere near good enough for any games - a long way to go yet. Its been an interesting learning experience though! If there are changes need making before it goes in the tree, feel free to let me know Regards, Jason
Attachment:
dx8try3.zip
Description: Zip compressed data