1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

37 Commits

Author SHA1 Message Date
narzoul
f70e2f9d32 Fixed ValidateDevice 2024-07-01 23:52:24 +02:00
narzoul
9eba917e09 Fixed software palettized textures when PalettizedTextures is off
Fixes menu corruption in Colin McRae Rally.
2023-11-11 17:16:39 +01:00
narzoul
95ade4412b Added VertexBufferMemoryType setting 2023-11-05 14:21:18 +01:00
narzoul
c3a68620f6 Added SupportedDepthFormats setting 2023-11-05 14:21:18 +01:00
narzoul
bb0f5c53e9 Added SupportedTextureFormats setting 2023-11-05 14:21:18 +01:00
narzoul
25f325ec17 Log used resource formats 2023-11-05 14:21:18 +01:00
narzoul
97197dde6a Removed dependency on common config header 2023-11-05 14:21:18 +01:00
narzoul
13e4d90116 Added SoftwareDevice setting 2022-09-27 21:45:21 +02:00
narzoul
6327bc506f Create default primary in fullscreen mode
Fixes intro videos displaying in a small window in Midtown Madness 2
2022-09-27 21:45:17 +02:00
narzoul
87c2af5049 Added LogLevel setting 2022-09-27 21:45:10 +02:00
narzoul
8b393ea498 Fix vertex positions via vertex shader 2022-09-27 21:45:00 +02:00
narzoul
fb6555523f Added Antialiasing setting 2022-09-27 21:44:56 +02:00
narzoul
0ada5acea7 Fixed crash at startup in Debug build
See issue #96.
2021-05-13 23:10:32 +02:00
narzoul
b2c92f31da Use variable templates and auto template parameters 2021-03-28 11:19:28 +02:00
narzoul
71c67fffd4 Reworked vtable hooking 2021-03-16 14:13:20 +01:00
narzoul
75f8f7e689 Replace vtable function pointers instead of using Detours 2021-02-24 23:35:21 +01:00
narzoul
b4ef2a1c0c Use angle brackets in all include directives 2021-02-24 23:35:20 +01:00
narzoul
7b660e1396 Bypass restrictions on maximum render target size (2048x2048) 2021-01-08 01:20:24 +01:00
narzoul
050248a552 Moved z-buffer bit depth caps fix to driver level 2021-01-07 01:06:37 +01:00
narzoul
ca9404ec6f Suppress flushes from execute buffers
Mitigates performance issues in Rowan's Mig Alley (issue #12).
2020-05-26 00:15:41 +02:00
narzoul
d06fe4e6ba Hook Direct3D execute buffer interface 2020-04-19 01:31:15 +02:00
narzoul
652bf67706 Hook Direct3D light and material interfaces 2020-04-17 23:53:18 +02:00
narzoul
3cc5a47156 Replace Ramp Emulation device with RGB Emulation
Fixes battle scenes in Star Wars Rebellion, apparently broken by a
Windows 10 update (issue #22).
Older versions of d3dim.dll still work correctly.
2020-04-06 23:00:20 +02:00
narzoul
bb6092e0bd Partial workaround for black D3DTA_DIFFUSE color on some drivers when RHW=0
Fixes black screen issues under some circumstances (e.g. underwater) in
Might and Magic 9 (issue #48).
2019-08-10 14:23:52 +02:00
narzoul
26f8742dc2 Reverted forcing surfaces to system memory 2019-08-01 16:00:10 +02:00
narzoul
5b171691f0 Separate DirectDraw and UMD critical sections 2019-06-08 15:59:17 +02:00
narzoul
c53ffab664 Indented function logging 2018-12-08 21:57:14 +01:00
narzoul
e69b5e312c Moved common macros to compiler options 2018-12-08 21:53:41 +01:00
narzoul
b78446c16f Hook IDirect3DDevice7 only if needed
Creating an instance of the IDirect3DDevice7 interface appears to cause
problems in some games that use only older versions of Direct3D.
IDirect3DDevice7 is now only hooked when an application creates an instance.

Fixes video playback artifacts in Populous: The Beginning.
Fixes a crash in Carmageddon (Win95 version) reported in issue #3.
2017-07-23 12:00:09 +02:00
narzoul
32259119c3 Hooked the IDirect3DVertexBuffer interfaces 2016-10-31 13:48:26 +01:00
narzoul
2d22ace9f1 Hooked the IDirect3DTexture interfaces 2016-10-31 13:48:19 +01:00
narzoul
6e95f7ca1b Hooked the IDirect3DViewport interfaces 2016-10-31 13:48:12 +01:00
narzoul
aabe85db65 Removed CompatVtable dependency on derived interface 2016-10-23 15:28:27 +02:00
narzoul
b8832a92be Moved DLL related parts to Dll namespace and subdirectory 2016-10-23 15:27:50 +02:00
narzoul
66bc66f42f Moved visitors to Visitors subdirectories 2016-10-23 15:27:32 +02:00
narzoul
2097d737dc Moved common parts to Common subdirectory 2016-10-23 15:27:26 +02:00
narzoul
1a9b4ce860 Moved Direct3D parts to Direct3d namespace and subdirectory 2016-10-23 15:25:32 +02:00