On 03/10/06, Stefan Dösinger stefandoesinger@gmx.at wrote:
Can this be done by anybody or does one need to be a Wine D3D guru for that? If the task is easy it would be a good addition to http://wiki.winehq.org/JanitorialProjects .
It is nothing special. Just remove the #include "d3d9.h", and for every data type D3DFOOBAR that is missing add a WINED3DFOOBAR type to include/wine/wined3d_types.h and modify include/wine/wined3d_interface.h and the code in dlls/wined3d/ to use it. Add typecasts in dlls/ddraw, dlls/d3d8 and dlls/d3d9 as necessary.
There are probably a couple of macros as well, but you should be able to just copy those over as well. For the most part it comes down to duplicating code and giving it a slightly different name :-)