Patrik Stridvall
896889f317
ANSI C fixes.
1999-05-08 12:50:36 +00:00
Patrik Stridvall
a9a671d7ca
Fixed ANSI compabillity.
1999-04-25 19:01:52 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Lionel Ulmer
251ed43b98
Changed 'GetDisplayMode' to return the mode previously set by
...
'SetDisplayMode' (and not the current monitor mode).
1999-04-18 12:03:02 +00:00
Brian Gerst
8d4f85071d
- Removed all floating point math.
...
- Implemented stretching in X and Y directions for 8, 16, and 32 bit color.
- Implemented source and dest color-keying for 8, 16, and 32 bit color.
- Implemented some trivial raster operations.
- Minimized inner loops for maximum speed.
- Use memcpy whenever possible.
1999-04-18 09:31:50 +00:00
Lionel Ulmer
81c7544184
- clean-up of texture 'loading'
...
- added SetColorKey callback for already loaded textures
1999-04-06 07:10:48 +00:00
Lionel Ulmer
4ddedb8131
Added DllClassFactory to DirectDraw.
1999-04-02 10:26:32 +00:00
Lionel Ulmer
31ce102fe6
Implement the EnumAttachedSurface method.
1999-04-01 11:49:29 +00:00
Lionel Ulmer
e8ceac986b
Fixed QueryInterface functions for IDirect3D 1 and 2.
1999-03-28 15:15:45 +00:00
Lionel Ulmer
2e23da4ad5
Added initialisation of the pixmap_depth field in
...
Xlib_DirectDrawCreate.
1999-03-28 09:18:22 +00:00
Francois Gouget
022d372709
Adapted to the interface/implementation separation.
...
Now uses ICOM_THIS to access the implementation structures.
Replaced 'this' with 'This' for ICOM_THIS.
Direct access to the virtual table has been eliminated too.
1999-03-27 16:56:13 +00:00
Marcus Meissner
6b9dd2e098
Lots of warning fixed, one missing WINAPI in ddraw.c added.
1999-03-18 17:39:57 +00:00
Lionel Ulmer
88ca57d219
Corrected bug in enumeration function.
1999-03-16 09:53:48 +00:00
Francois Boisvert
6b1b41cf85
Made access to the wnd struct thread-safe.
1999-03-14 17:25:32 +00:00
Jim Aston
2e1cafa288
Renamed wintypes.h to windef.h.
1999-03-14 16:35:05 +00:00
Patrik Stridvall
76535cd912
Added functions DirectDrawEnumerateW and DirectDrawEnumerateExW.
1999-03-14 15:20:11 +00:00
Andreas Mohr
7d0e449f1f
Improved "error" message readability.
1999-03-13 12:43:11 +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
Lionel Ulmer
4d4b5a9a2f
- added function DirectDrawEnumerateEx
...
- added (or corrected) check for the return value of the enumeration functions
1999-02-28 19:49:42 +00:00
Lionel Ulmer
718bba93ec
- no more 3D capabilities if Direct3D support is not compiled in
...
- some debug messages clean-up (replaced fprintfs by DUMPs)
1999-02-28 11:04:54 +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
Marcus Meissner
219cfd8387
Optimized away more includes, readded some #includes for necessary
...
prototypes.
1999-02-24 13:05:13 +00:00
Marcus Meissner
04c3e1d456
Removed a lot of occurences of windows.h (and added necessary other
...
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner
fb0192236b
Some ddraw/d3d bugfixes, updated Diablo/WC4 ddraw status.
1999-02-14 09:25:37 +00:00
Marcus Meissner
9faa7d735a
Moved the if1632/signal.c stuff into loader/signal.c, adapted function
...
pointers for wine_debug and INSTR_EmulateInstruction.
1999-02-13 17:55:17 +00:00
Lionel Ulmer
98db0be819
Better detection of XShm errors (should now run on remote displays).
1999-02-11 13:24:52 +00:00
Lionel Ulmer
01fb67de87
Fixed debug output to follow '-debugmsg' flags.
1999-02-10 06:39:01 +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
Alexandre Julliard
1c24d79b18
Authors: Lionel Ulmer <ulmer@directprovider.net>, Babrian Viktor <v@ulysses.sch.bme.hu>
...
- added support for ColorKeying during blits
- miscellaneous fixes
1999-01-31 09:25:35 +00:00
Ove Kaaven
b77de0298d
Defined RESTORE_SIGNALS by default and call SIGNAL_EmulatorInit
...
through a function pointer instead. Added a few traces. Fixed the
"Memory corruption !" message in DGA mode. Commented out an
unnecessary TSXF86VidModeSetViewPort that caused my X server to
act up, relying on TSXF86DGASetViewPort instead.
1999-01-30 13:17:54 +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
Lionel Ulmer
c53125969e
- corrected bug in Z Buffer allocation
...
- put VIDEOMEMORY flag for all primary surfaces
- put something in a surface after a ReleaseDC
1999-01-23 12:25:51 +00:00
Marcus Meissner
68f458ddde
Unified palette create, do allocate colorcells on init for DGA.
1999-01-20 12:25:56 +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
Lionel Ulmer
5ff007747f
- beginning of implementation of Direct3D2 (DX 5.0) and associated classes
...
- some basic code for Direct3D and Direct3DExecuteBuffer (DX 3.0)
- added stretching to Blt function
1999-01-03 17:00:19 +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
Marcus Meissner
7a8431ed69
Stubs for IDirect3D(2)::CreateLight and CreateDevice to avoid crashes.
1998-12-24 14:36:26 +00:00
Stephen Crowley
66267bd87b
Save the original video mode before going fullscreen and restore it
...
when the last DirectDraw_Release is called. Also fix a problem where
the viewport wasn't set to 0,0.
1998-12-14 14:39:56 +00:00
Stephen Crowley
330612ea5c
Fixed a potential crash if a usable video mode is not detected.
1998-12-10 09:50:35 +00:00
Robert Riggs
d22d0718f4
Set window focus in _common_IDirectDraw_SetDisplayMode().
1998-12-10 09:05:09 +00:00
Alexandre Julliard
e9bc26ad27
Tried another kludge for the Xmd.h problem.
1998-12-08 15:06:38 +00:00
Stephen Crowley
399931a293
Added fullscreen DGA support.
1998-12-08 13:10:56 +00:00
Marcus Meissner
4a2e102827
Create X11 palette on DirectDrawSurface::SetPalette, not before (we
...
might not have an X11 window yet).
1998-12-08 10:00:38 +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
Stephen Crowley
8e06d90e4d
Added a new cmdline switch to disable XF86 DGA Extensions, -nodga.
1998-11-27 15:12:33 +00:00
Huw D M Davies
9c68faadab
Remove X_DC_INFO from DC and make it behave like any other PDEVICE.
1998-11-25 12:36:03 +00:00