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

347 Commits

Author SHA1 Message Date
narzoul
8f8eca66d3 Fixed hooking of dialog window in FF8Config 2021-04-08 13:30:48 +02:00
narzoul
fc0b904c25 Fixed resource leak in PrimarySurface::getLastSurface() 2021-04-08 10:55:29 +02:00
narzoul
6396b7420d Fixed palette issues in Deer Hunter 2 2021-04-08 00:29:51 +02:00
narzoul
c2d882fd88 Unrealize palette when it becomes a foreground palette
Fixes palette issues in Star Wars Rebellion.
2021-04-07 20:19:03 +02:00
narzoul
cb35ee4beb Fixed crash at startup in Anno 1503 AD 2021-04-07 20:19:03 +02:00
narzoul
34c5c28cec Update window visible regions during VirtualScreen::update 2021-04-07 20:19:02 +02:00
narzoul
c8723e171b Added version info to DLL 2021-04-07 20:18:59 +02:00
narzoul
148d7287e8 Fixed incompatibility with Steam overlay
See issue #68.
2021-04-02 18:04:00 +02:00
narzoul
4e00ce0447 Removed dependency on Detours 2021-03-28 20:03:55 +02:00
narzoul
ce991009be Fixed performance issue with palettized modes on Intel drivers
Fixes #89.
2021-03-28 11:51:28 +02:00
narzoul
b2c92f31da Use variable templates and auto template parameters 2021-03-28 11:19:28 +02:00
narzoul
5882ef9f9c Install window hooks from presentation window thread 2021-03-16 14:13:25 +01:00
narzoul
aecb55286a Updated project to SDK/WDK 10.0.19041.0 2021-03-16 14:13:25 +01:00
narzoul
71c67fffd4 Reworked vtable hooking 2021-03-16 14:13:20 +01:00
narzoul
35e66bd3cf Leave cleanup to process termination 2021-03-01 22:59:07 +01:00
narzoul
0d91170fb5 Use _beginthreadex instead of CreateThread 2021-03-01 22:02:31 +01:00
narzoul
75f8f7e689 Replace vtable function pointers instead of using Detours 2021-02-24 23:35:21 +01:00
narzoul
d268c51d8f Fixed clipping of monitor-specific DCs 2021-02-24 23:35:20 +01:00
narzoul
97e08f7988 Create log file in process dir instead of current working dir 2021-02-24 23:35:20 +01:00
narzoul
b4ef2a1c0c Use angle brackets in all include directives 2021-02-24 23:35:20 +01:00
narzoul
4e3debf776 Merged Gdi::DcCache into Gdi::Dc 2021-02-24 23:35:19 +01:00
narzoul
b83f7ca879 Disable DIB redirection for icon and cursor creating functions
Fixes corrupt icon in volume mixer.
2021-02-24 23:35:16 +01:00
narzoul
8b8a4e544f Redraw window frame on SWP_FRAMECHANGED 2021-02-24 23:30:53 +01:00
narzoul
205f517845 Fixed scroll bar control painting and thumb tracking 2021-02-24 23:30:48 +01:00
narzoul
27ae9affb8 Fixed deadlock in VirtualScreen::update 2021-01-31 16:25:17 +01:00
narzoul
0a39f17089 Fixed caption button positions, sizes and hit boxes 2021-01-31 16:25:13 +01:00
narzoul
4dbc7d4204 Fixed inactive window caption icon background color 2021-01-31 11:41:04 +01:00
narzoul
6e15cb7da7 Use only static colors when default palette is selected
Fixes changing window border/caption colors (issue #86).
2021-01-31 11:41:04 +01:00
narzoul
922d17d283 Track palette realization state 2021-01-31 11:41:04 +01:00
narzoul
39bb699cf7 Use RealizePalette for windowed mode palette changes 2021-01-31 11:40:43 +01:00
narzoul
950bde4161 Always take window client DCs from cache 2021-01-28 23:00:48 +01:00
narzoul
259f2bef20 Exclude copied window regions from further preserved regions 2021-01-21 20:52:57 +01:00
narzoul
c5a867bac5 Invalidate windows beneath hidden WS_EX_TRANSPARENT windows
Fixes stuck items in Diablo 1 character creation menu.
2021-01-21 19:17:43 +01:00
narzoul
0e7f397863 Moved palettized presentation handling to driver level 2021-01-17 00:45:08 +01:00
narzoul
affc5ab17e Release DirectDraw critical section between GetDC/ReleaseDC
Fixes invisible exit confirmation dialog in Metal Gear Solid (issue #49).
2021-01-13 22:11:50 +01:00
narzoul
240ddbda57 Discard invalid bits from D3DDDIRS_WRAP render state values
Fixes rendering issues in Thief 2 on Intel GMA 3600 (issue #81).
2021-01-12 21:06:32 +01:00
narzoul
324b4a77f0 Replace RHW=INFINITY with RHW=1
Fixes invisible gauge needles in NASCAR Racing 3 (issue #83).
2021-01-12 20:42:29 +01:00
narzoul
e9a2bdc83f Remove deleted textures from device state
Fixes flickering black box during SimCity 4 videos (issue #85).
2021-01-09 12:15: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
f3718272cd Hook ASCII window procedures for menus and scroll bars
Fixes missing texts in menus of PGA Championship Golf 2000 (issue #84).
2021-01-04 22:15:11 +01:00
narzoul
2ae5287bcf Disable window ghosting 2021-01-04 22:15:11 +01:00
narzoul
337c5a9c5a Use SWP_NOCOPYBITS for child window movements 2021-01-04 22:15:11 +01:00
narzoul
13ab654665 Moved presentation window implementation to separate file 2021-01-04 22:15:10 +01:00
narzoul
481b09f489 Fixed clipping of desktop DC 2021-01-04 22:15:10 +01:00
narzoul
a0919dcaa6 Fixed invalidation of resized windows 2021-01-04 22:15:05 +01:00
narzoul
453dc4d681 Renamed PaintHandlers to User32WndProcs 2021-01-04 22:11:49 +01:00
narzoul
7e9ceb3c9c Fixed highlighting stuck on scroll bar shaft after releasing mouse button 2021-01-04 22:11:46 +01:00
narzoul
5911951d08 Use window region to emulate pre-DWM system region 2021-01-04 22:09:37 +01:00
narzoul
679bd94629 Fixed issues caused by unnecessary redraws during ScrollWindow(Ex)
Fixes disappearing controls on Mig Alley's Quick Mission screen (issue #12).
2020-12-31 18:04:30 +01:00