Re: d3dx9_36: Make get_parameter_{handle,struct}() static.

2011-04-11 Thread luis . busquets
Shouldn't this be inline? --- dlls/d3dx9_36/effect.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c index 1e3de0c..a03e8a3 100644 --- a/dlls/d3dx9_36/effect.c +++ b/dlls/d3dx9_36/effect.c @@ -91,12 +91,12 @@

d3dx9effect.h; Errors in h files are bugs?

2010-05-28 Thread Luis Busquets
winehq in include/d3dx9effect.h adds in the definition of ID3DXEffectCompiler the methods: STDMETHOD(SetPixelShader)(THIS_ D3DXHANDLE parameter, LPDIRECT3DPIXELSHADER9 pshader) PURE; STDMETHOD(SetVertexShader)(THIS_ D3DXHANDLE parameter, LPDIRECT3DVERTEXSHADER9 vshader) PURE; None of

d3dx: should NULL defines be accepted?

2010-05-27 Thread Luis Busquets
The current code for the functions: D3DXCreateEffectFromFileExW http://source.winehq.org/ident?i=D3DXCreateEffectFromFileExW D3DXCreateEffectFromFileExA http://source.winehq.org/ident?i=D3DXCreateEffectFromFileExA D3DXCreateEffectFromResourceExW

Future implementation

2010-04-13 Thread Luis Busquets
Could someone please confirm the following points?: 1. Sound system. The configuration that wine will implement is: winmm -- WASAPI -- OpenAL and DirectSound -- OpenAL After that is done wineoss, winejack, winealsa, ... will be removed from the tree. 2. Integration of DosBOX or other

Isn't it a bug?

2009-12-20 Thread Luis Busquets
From some time when I run Civilization4 I get a myriad of these messages and others with other formats: err:d3d:getColorBits Unsupported format: WINED3DFMT_R16G16_FLOAT err:d3d:IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt Unable to check compatibility for Format=WINED3DFMT_R16G16_FLOAT

Re: Isn't it a bug?

2009-12-20 Thread Luis Busquets
Adding the following code solves the myriad of wine errors. if ((format_desc-format==WINED3DFMT_R16_FLOAT)||(format_desc-format==WINED3DFMT_R16G16_FLOAT) ||(format_desc-format==WINED3DFMT_R16G16B16A16_FLOAT) ||(format_desc-format==WINED3DFMT_R32_FLOAT)

Re: d3dx9: Implementation of D3DXGetDeclLength

2008-08-06 Thread Luis Busquets
. pdecl is just an input. Last, yeah I know. It is a pity. When I am on holiday is when I have more time... H. Verbeet escribió: 2008/8/5 Luis Busquets [EMAIL PROTECTED]: +static const D3DVERTEXELEMENT9 lc={0xFF,0,D3DDECLTYPE_UNUSED,0,0,0}; What do you use this for? +while

quartz: FOURCC Error in compiling

2008-04-15 Thread Luis Busquets
When I try to compile the wine tree of today I get an error compiling avisplit.o: There is no rule to build fourcc.h needed for avisplit.o /make[2]: *** No hay ninguna regla para construir el objetivo `fourcc.h', necesario para `avisplit.o'. Alto. make[2]: se sale del directorio

Re: d3dx9_36: Add stubs and implementations for D3DXCreateTexturexx

2008-04-13 Thread Luis Busquets
Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl. http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html /* * Direct3D X 9 texture file * * Copyright (C) 2008 Luis Busquets * * This library is free software; you can redistribute it and/or * modify

Several patches for D3DX

2008-04-11 Thread Luis Busquets
--- /dev/null +++ b/dlls/d3dx8/mesh.c @@ -0,0 +1,90 @@ +/* + * Direct3D X 8 mesh file + * + * Copyright (C) 2008 Luis Busquets + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free

Re: d3dx8: D3DXGetFVFVertexSize 2/4

2008-04-09 Thread Luis Busquets
merge both patches (1 and) in just one? H. Verbeet escribio': On 08/04/2008, Luis Busquets [EMAIL PROTECTED] wrote: Implementation of D3DXGetFVFVertexSize. With this patch WINE responds correctly to the tests of D3DXGetFVFVertexSize sent in patch 1/4 of today. You have to either send

d3dx9: Implementation of D3DXGetShaderSize 2/3

2008-04-06 Thread Luis Busquets
The +1 of the end is because finally address points to the end token. So +1 is the end token. This function has been tested with all shaders of Civilization 4 and has responded successfully. The attached patch has included the suggestions. H. Verbeet escribió: On 06/04/2008, Luis Busquets

kernel32: Implement ReplaceFileW

2008-02-08 Thread luis . busquets
I have read this patch sent in several times and have realised that every time it contains a large number of goto's. I certainly do not like goto in structured code. My question to the forum is if it is allowed to use goto in wine or if you prefer not to use it. Even when this will make the code

Re: Bug in patch winex11.drv: Don't create a win_data structure for the desktop window, except in the process that owns it.

2008-02-06 Thread luis . busquets
It is the smae bug as 11340. The game executes binkplayer.exe and both processes become stuck. If you kill one of them, the other executes correctly (binkplayer.exe=plays a movie and stops, Patrician3.exe=begins the game) If you apply the patch that I have mentioned in the bug, the problem is

Re: GDI32.dll.NamedEscape

2008-01-15 Thread luis . busquets
No. I am not using any native dll. The program to install hangs the moment I pres the button Install and aborts saying that: wine: Call from 0x73ba1895 to unimplemented function GDI32.dll.NamedEscape, aborting Luis C. Busquets Pérez wrote: I am having problems with a bunch of three games

Re: hlsl2glsl

2007-12-12 Thread luis . busquets
Just to add that msdn states that Direct3D 10 limits the use of assembly language to that of debugging purposes only, therefore any hand written assembly shaders used in Direct3D 9 will need to be converted to HLSL. http://msdn2.microsoft.com/en-us/library/bb205073.aspx#Porting_Shaders I think

hlsl2glsl

2007-12-10 Thread luis . busquets
hlsl2glsl is the good solution for implementing shaders on directX 10. Nevertheless, the hlsl compilation to tokens has to be done for d3d9. On the other hand, if we implement d3dx9_xx, it is likely that the application will be using the compile D3DX9CompileShader to get the tokens. Currently it

Re: hlsl2glsl

2007-12-10 Thread luis . busquets
Ok. I get that the program realeased by a private vendor is not good. Nevertheless, what about the philosophy? What about: 1. The implementation shaders of DirectX 10 making the card compile GLSL code generate by transforming the HLSL code. 2. The Implementation for D3DX9 of the possibility to

kernel32:add ReadFileScatter

2007-12-03 Thread luis . busquets
Just to add more clarity to the IPR of computer programs and if it is legal to decompile and implement a program again. In Europe, software is protected by Council Directive 91/250/EEC of 14 May 1991 on the legal protection of computer programs

modified: dlls/d3dx8/d3dx8_main.c modified: include/d3dx8core.h

2007-11-27 Thread luis . busquets
else eliminated. --- dlls/d3dx8/d3dx8_main.c | 18 +- include/d3dx8core.h |2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/dlls/d3dx8/d3dx8_main.c b/dlls/d3dx8/d3dx8_main.c index 9221221..81a1eca 100644 --- a/dlls/d3dx8/d3dx8_main.c +++

Re: d3dx8: Implementation of WINAPI D3DXAssembleShaderFromFileA

2007-11-26 Thread luis . busquets
I say that it is more readable because I understood you wanted the return code as soon as possible, but, anyway, what would you propose as code for this function? Would the following work for you? + + if ( !pSrcFile ) + return D3DXERR_INVALIDDATA; + else + { + LPWSTR pSrcFileW = NULL; +

Ansi to Unicode

2007-11-22 Thread luis . busquets
Is there any standard function in WINE to transform an Ansi string into a Unicode string? And the opposite?

Wine Stats Malfunctioning

2007-10-17 Thread luis . busquets
Web page: http://www.winehq.org/site/winapi_stats on wine statistics does not work.

Re: Request to be unbanned from #winehq (Jan Zerebecki)

2007-10-08 Thread luis . busquets
Dear all, Which program do I have to use to get connected in the #winehq channel? I have truly been out of chatting for a long time.

msvcrt40.dll

2007-08-02 Thread luis . busquets
Dear all, In relation to the file msvcrt40.dll File Version 5.1.2600.2180 Product Version 5.1.2600.2180 This file has been transformed and forwards all of its calls to either msvcrt.dll or msvcirt.dll The forwards to msvcrt.dll are set in the current wine msvcr40.spec but the rest of the