11 Mar
2011
11 Mar
'11
5:56 p.m.
On Fri, Mar 11, 2011 at 9:44 AM, Alexandre Julliard <julliard(a)winehq.org> wrote:
That stuff needs to be generated from source, you can't just copy the native header contents.
Is the following acceptable? 1. Implement IDirectXFileSaveObject::SaveTemplates 2. Create programs/dxfconv as a wine program that uses d3dxof to convert x files to different encodings (e.g. text -> binary) 3. Write the text encoding for D3DRM_XTEMPLATES in include/rmxftmpl.x 4. Use dxfconv and xxd -i to generate the binary contents of D3DRM_XTEMPLATES, and add a comment to rmxftmpl.h saying it was generated from rmxftmpl.x 5. Test to make sure the contents is the same for compatibility.