Attached is the code as I have it today, warts and all for anyone who wants to try it. Dump it all in the dlls/d3d8. Its not a diff since there is not much there to diff against. I will continue to play with it and would appreciate feedback fron anyone who fancies giving it a try. As I said in my original note, it requires a hack to the x11drv.spec file at the moment - I'll look into the escape mechanism. It doesnt handle screen modes at all yet, it only implements 2, one which is the display resolution and a 640x480 mode it returns. I cant work out how to do this yet! Known issues: 1. Text doesnt work (For the life of me I cant get tutorial 9 to work: http://www.two-kings.de/tutorials/d3d09/d3d09.html 2. Lighting isnt quite right - Look at the lighting of the following sample compared to windows http://www.codeguru.com/directx/UDirect3D8.html 3. Error checking isnt there 4. State block code doesnt feel right. I need to look into gl lists, and see if those will help 5. Hundreds of bugs, unimplemented parts etc etc. I dont mind if this does get in the wine tree, but I suspect it is too hacky to do so. Aside from the escape mechanism let me know about other parts which would prevent the code going in. One very important point - Be gentle with me! I'd never touched 3D graphics before I started fiddling with this! Jason
Attachment:
DirectX8-rfc1.zip
Description: Zip compressed data