Dear All:
I may be mistaken, but it appears that the constants used for D3DX Mesh Options: http://msdn.microsoft.com/en-us/library/bb205746%28v=VS.85%29.aspx
are not yet present in Wine.
For example, in the main Wine source directory the command:
find . -name *.h -exec grep D3DXMESH_32BIT {} ;
does not return any results.
I would like to add these constants.
My question: Can I simply 1) look at the relevant DirectX 9 Microsoft .h files and add the constants (rewriting of course not copy paste) from there? or 2) do I have to do something more complicated?
Thank you Misha
Misha Koshelev wrote:
Dear All:
I may be mistaken, but it appears that the constants used for D3DX Mesh Options: http://msdn.microsoft.com/en-us/library/bb205746%28v=VS.85%29.aspx
are not yet present in Wine.
For example, in the main Wine source directory the command:
find . -name *.h -exec grep D3DXMESH_32BIT {} ;
does not return any results.
I would like to add these constants.
My question: Can I simply
- look at the relevant DirectX 9 Microsoft .h files and add the
constants (rewriting of course not copy paste) from there?
This should come from the PSDK (that is the Microsoft SDK that is publically available.) This cannot come from non-public sources and/or source code....
or 2) do I have to do something more complicated?
This may be the truth. Others may chime in and advise further.
James McKenzie
My question: Can I simply
- look at the relevant DirectX 9 Microsoft .h files and add the
constants (rewriting of course not copy paste) from there?
I believe you can.
- do I have to do something more complicated?
No, I don't think so.
There are legal precedents if you like, e.g. the Microsoft/Lotus trial, but IANAL, so I don't think citing them would be much help. Reading publicly available header files and recreating them is what we've done, so you should be safe doing so as well. --Juan
On Tue, 2010-07-06 at 19:08 -0700, Juan Lang wrote:
My question: Can I simply
- look at the relevant DirectX 9 Microsoft .h files and add the
constants (rewriting of course not copy paste) from there?
I believe you can.
- do I have to do something more complicated?
No, I don't think so.
There are legal precedents if you like, e.g. the Microsoft/Lotus trial, but IANAL, so I don't think citing them would be much help. Reading publicly available header files and recreating them is what we've done, so you should be safe doing so as well. --Juan
Thank you. Onwards then with this approach.
Interestingly MSDN has some quite interesting typos: http://msdn.microsoft.com/en-us/library/bb205370%28v=VS.85%29.aspx
specifically, LPD3DXMESH is indeed defined in the header file as an ID3DXMesh * and _not_ a pointer to the enumeration.
Oh well, go figure.
Thanks guys!
Misha
p.s. You guys work too hard! I hope Codeweavers gives you a nice break... or overtime ;)