Re: GTA:SA+ WIne-RC1 + Ubuntu 8.04[64bit] -> Unhdl. exce.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 14, 2008 at 11:36 PM, ulberon <wineforum-user@xxxxxxxxxx> wrote:
> Well, in that case....going through the dxd9_36.spec I don't see
> "D3DXColorAdd" or "D3DXColorLerp", so does that mean it should be added?

Assuming your game needs it, and assuming it's there in the Windows
version of that dll, sure (though I know little about DirectX, you might check
with someone who does).

> Example:
> Goto d3dx9math.h and add "D3DXCOLOR* WINAPI D3DXColorAdd(
>  D3DXCOLOR * pOut,
>  CONST D3DXCOLOR * pC1,
>  CONST D3DXCOLOR * pC2
> );"
>
> ?

It's already there in d3dx9math.inl, that's probably enough.

But since this is an inline function, why would it need to be
exported from the .dll?  Better doublecheck that it is, and
check with a wine d3d9 developer...

> And is the .spec automatically generated or should I add: @ stub D3DXColorAdd ..." to the file as well?

.spec files are manually written, so you probably need to add an
entry there.  A stub probably isn't enough (games that need to add colors
probably won't run well if that function isn't really implemented).
Many of those functions are forwarded to their d3dx8 versions,
perhaps that's needed here.

- Dan


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux