Commit Graph

61 Commits

Author SHA1 Message Date
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Francois Gouget 3ca761220a Spelling fixes (s/occured/occurred/ and variants). 2003-07-15 20:53:39 +00:00
Francois Gouget 56aaea2f43 Spelling fixes. 2003-07-09 02:52:57 +00:00
Alexandre Julliard aae3cb61cd Simplified COM interface declarations, removing the need to define
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard 55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Vincent Béron 8e30fde2b9 Fills the name of the arguments of the COM methods, else MSVC doesn't
like them.
2002-12-07 23:47:40 +00:00
Lionel Ulmer c5f38756a2 - actually use the VertexBuffer stubs
- implement Lock function to prevent crash when the stubs are used
2002-11-30 19:27:19 +00:00
Christian Costa 8ab84e240d Replace LPDDSURFACEDESC by LPDDSURFACEDESC2 in IDirectDrawSurface4
methods declaration.
2002-11-30 01:51:21 +00:00
Christian Costa ae24769927 Add some DDRAW and D3D definitions. 2002-11-27 20:12:10 +00:00
Michael Karcher 4ae5380cbb Set the correct length of the struct DDSURFACEDESC. 2002-07-22 20:37:01 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Ove Kaaven b08af2f033 Fixed the IDirectDrawSurface4 interface declaration to conform a bit
more with the DirectX SDK headers' idea of what the interface looks
like.
2001-05-09 19:44:25 +00:00
Ove Kaaven 1859dde8e9 Added IDirectDrawGammaControl interface declaration. 2001-03-19 19:15:57 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Alexandre Julliard d6c0f9f784 Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
Major DirectDraw restructure/reimplementation, using an improved component
object model hierarchy. The implementation currently supports:
- DirectDraw over GDI/USER in a window (using DIBsections and
  asynchronous updates)
- XVidMode
- XF86DGA2
- All DirectDraw interfaces from versions 1 to 7 (at least in theory)
- Hooks for Direct3D interfaces
2001-01-04 22:44:55 +00:00
François Gouget ecae926945 Needs to include windef.h. 2000-12-15 21:30:35 +00:00
Marcus Meissner aa10949064 Added some basic IDirectDraw7 interface support, fixed argument count
of IDirectDraw{4,7}_SetDisplayMode defines.
2000-10-23 00:36:45 +00:00
Lionel Ulmer fc67be9a01 Added support for DirectDraw overlays using the XVideo extension. 2000-09-26 00:38:03 +00:00
Marcus Meissner ac4c254036 Removed unnecessary X11 includes from ddraw.h. 2000-08-01 20:56:29 +00:00
Ove Kaaven 3c1f362ca9 Added some DirectDraw7-related definitions. 2000-07-23 13:42:13 +00:00
Marcus Meissner 45bd6123f7 Added struct offsets so understanding game disassembly is easier. 2000-06-12 21:55:20 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Peter Hunnisett 8c735b9bdb - Added ability to create 3D3 interfaces for Xlib
- Changed DD_OK to D3D_OK in some places for consistency
- Cleaned up some compiler warnings present without DGA2
- Changed order for DirectDrawEnumerateExA to enumerate at least
  what abilities are known rather than bailing on unsupported flags
- Added DirectDrawCreateEx stub
2000-05-13 01:28:49 +00:00
Ian Schmidt ef9067531b Added GUIDs, defines, and structures for DirectX7. 2000-02-10 22:38:53 +00:00
Steve Langasek e55430203e Fixed macro definition of IDirectDrawSurface_Restore.
Added defines for Ddraw's WaitForVerticalDisplay().
2000-01-12 04:58:53 +00:00
Francois Gouget be9fd31b92 Define the COM macros even in C++. 1999-10-23 20:09:05 +00:00
Jim Aston e0f604a3cd Added another anonymous union using the DUMMYUNIONNAME style. 1999-10-23 16:55:28 +00:00
Patrik Stridvall 14da7b1c93 Added extern "C" if __cplusplus is defined. 1999-06-12 10:53:06 +00:00
Francois Gouget 81de59a76a Removed all implementation aspects.
Modified to use the latest ICOM macros.
Added the macros for use in C.
Added the method parameter names (when I had them).
1999-03-27 16:48:25 +00:00
Lionel Ulmer 19cf14f5e8 - some clean up in handling of depth
- more depth conversion routines for X11 (15, 16 and 32 -> 8)
1999-03-10 16:22:35 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Michael Veksler 3fbb8dc829 - Fix headers to include less or smaller header files.
- Fix header and source files to include missing header files to avoid
  warnings and errors.
1999-02-21 18:23:26 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Lionel Ulmer 4ef9251911 - added a dump of the palette creation flags
- changed palette creation code in vga.c to prevent useless error
  message
1999-02-05 10:23:37 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Lionel Ulmer 1b95d7369f Added stubs for new DirectDraw4 and DirectDrawSurface4 methods. 1999-02-02 13:27:38 +00:00
Lionel Ulmer 6e95399049 - added depth conversion routines (only 8bpp -> 16 bpp for now)
- added support of DEPTH_FILL for Blits
- added some flags in GetCaps to get some games working
1999-01-26 15:16:41 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Patrik Stridvall 151170c437 Moved more things to the X11 driver. 1998-12-26 12:00:43 +00:00
Peter Hunnisett 2d37e9b8cf Added all clipper&3d stubs.
Starting ColorKey support.
Fixed trace statement in DirectDrawCreate as formatting wasn't correct.
Changed "return 0;" to "return DD_OK" or "return S_OK" as appropriate.
Added SurfaceEnum dwFlags.
1998-12-24 16:28:57 +00:00
Lionel Ulmer 581a8edd74 - added definition of DirectDrawCreateClipper.
- more versatile support of surfaces / better surface description support.
1998-12-01 09:30:22 +00:00
Marcus Meissner 1cd7056636 DirectDraw status updated.
Use cooperative window for drawing in xlib implementation if possible.
Slightly restructured IDirectDrawSurface::Blt so it doesn't crash.
1998-11-22 12:33:29 +00:00
Lionel Ulmer 16704da018 Some corrections to the handling of off-screen buffers.
Correction to the EnumDisplayModes function.
Added XShm support to Xlib driver.
Open a DirectX window even when using the DGA driver.
1998-11-15 16:43:32 +00:00
Lionel Ulmer 7d70fe5acf Corrected bug in DirectDrawSurface creation and handling for driver
based upon Xlilb.
1998-11-14 11:26:08 +00:00
Turchanov Sergey 656eb96577 Moved Multimonitor API declarations to windows.h. 1998-10-18 11:56:35 +00:00