Commit graph

266 commits

Author SHA1 Message Date
FunkyFr3sh
5a9284a44e save and pass DDSD_BACKBUFFERCOUNT 2022-09-15 10:21:33 +02:00
FunkyFr3sh
edf69fcc2a add support for DDSD_LPSURFACE and DDSD_PITCH 2022-09-15 10:10:52 +02:00
FunkyFr3sh
0133030c6a add memset blt_clear wrapper 2022-09-15 02:12:27 +02:00
FunkyFr3sh
a2475ed259 replace blt_stretch 2022-09-13 15:51:14 +02:00
FunkyFr3sh
dc0204cf71 remove fixpitch setting 2022-09-13 09:34:48 +02:00
FunkyFr3sh
b03600fb4f #101 clear backbuffer on flip 2022-09-13 07:41:01 +02:00
FunkyFr3sh
21ccd1547f fix build for newer SDK versions 2022-09-11 07:34:40 +02:00
FunkyFr3sh
e578df74e3 make fixpitch setting working with primary surface too 2022-09-09 12:57:05 +02:00
FunkyFr3sh
10d0477cbd add color conversion blitters 2022-09-09 10:44:04 +02:00
FunkyFr3sh
c21123b606 specify full path to ddraw.ini in case of bad working dir 2022-09-08 04:20:51 +02:00
FunkyFr3sh
0997f514c4 separate blitters into a different file 2022-09-08 02:19:15 +02:00
FunkyFr3sh
15221b3120 add crc32 for testing 2022-09-07 02:51:42 +02:00
FunkyFr3sh
294e8f7d34 #164 add preset for Atrox 2022-09-05 09:08:59 +02:00
FunkyFr3sh
b2d6e13ba8 #138 add preset for infantry online 2022-02-05 04:03:00 +01:00
FunkyFr3sh
c6a5603294 optional D3DCREATE_FPU_PRESERVE for dune2000 and other games that might need it 2021-12-18 04:59:25 +01:00
FunkyFr3sh
c36522d377 #133 add option to save screenshots in a different directory 2021-12-17 03:16:08 +01:00
FunkyFr3sh
b8fd6d1f81 #131 #125 add option to remove video memory flag 2021-12-17 02:41:02 +01:00
FunkyFr3sh
768a3aaa7f #117 add hotkey settings to .ini 2021-09-29 12:55:20 +02:00
FunkyFr3sh
f23a3e49ba #121 fix cursor lock for space rangers 2021-09-19 04:24:22 +02:00
FunkyFr3sh
09f57918cb fix ClipCursor for ja2 2021-09-19 03:04:45 +02:00
FunkyFr3sh
8702ffe44a make cfg ini functions public 2021-09-16 02:25:22 +02:00
FunkyFr3sh
58a86abfc8 add new .ini setting to force release alt key on alt+tab 2021-09-16 01:57:44 +02:00
FunkyFr3sh
ebda8282b2 #118 merge latest sir-tech fixes
(cherry picked from commit 994d4c646fafe58c49631283c72b755d81dbf865)
2021-09-16 01:47:14 +02:00
FunkyFr3sh
31119eacb8 #118 fix shaders with ja2 wildfire 2021-09-09 21:34:44 +02:00
FunkyFr3sh
3f9ac549bc #121 return empty device identifier 2021-09-02 22:22:48 +02:00
FunkyFr3sh
ac1829f629 #114 add temporary workaround for "not responding" windows 2021-08-18 16:25:29 +02:00
FunkyFr3sh
2b883cfccb fix crash 2021-08-11 15:45:01 +02:00
FunkyFr3sh
4ee34d1c77 add setting for dinput detours hooks 2021-08-11 14:07:47 +02:00
FunkyFr3sh
b83005118d add new .ini setting for hiding child windows 2021-08-10 16:45:40 +02:00
FunkyFr3sh
1fde0ef382 add new ini setting "fixchilds" 2021-08-10 14:12:06 +02:00
FunkyFr3sh
02719f5744 remove passthrough setting and adjust presets 2021-08-08 22:39:32 +02:00
FunkyFr3sh
8314ea5545 do full Detours hook with hook=3 2021-08-06 02:07:50 +02:00
FunkyFr3sh
b3f9e7d045 #111 clear screen on resolution change and window resize 2021-08-05 00:26:29 +02:00
FunkyFr3sh
21790200af hook ShowWindow 2021-08-04 15:24:16 +02:00
FunkyFr3sh
a25e4d35f8 dinput.dll proxy with CoCreateInstance hook 2021-08-02 17:27:19 +02:00
FunkyFr3sh
2bc409d8fd add bilinear palette shader for d3d9 2021-07-21 14:52:44 +02:00
FunkyFr3sh
56ef3543c7 add some flags for SetDisplayMode 2021-07-03 18:07:38 +02:00
FunkyFr3sh
057e41e3c1 #100 tweak old 640x480 hack for cnc1 and ra1 2021-06-21 01:45:52 +02:00
FunkyFr3sh
efb8d84fcc add hack for ts 2021-06-18 12:18:35 +02:00
FunkyFr3sh
6cfeadaced fixes for cursor lock 2021-06-18 04:07:26 +02:00
FunkyFr3sh
684224b833 remove "handlemouse" setting 2021-06-18 04:06:48 +02:00
FunkyFr3sh
abdb74942b Revert "remove "handlemouse" setting"
This reverts commit f1bcff220d.
2021-06-16 07:47:15 +02:00
FunkyFr3sh
f1bcff220d remove "handlemouse" setting 2021-06-16 05:57:19 +02:00
FunkyFr3sh
4bb1cffee7 fix cursor lock for some dinput games 2021-06-15 02:21:44 +02:00
FunkyFr3sh
f29f712016 use older version of structs by default and cast to newer ones if needed 2021-06-14 09:57:26 +02:00
FunkyFr3sh
76b384e0cd some more tweaks to GetCaps 2021-06-14 09:18:14 +02:00
FunkyFr3sh
b7fe3d5b54 rename arg 2021-06-13 05:17:46 +02:00
FunkyFr3sh
a399797982 improve cursor lock 2021-06-12 05:45:28 +02:00
FunkyFr3sh
1eb87fd854 remove ddraw.h 2021-06-11 22:54:44 +02:00
FunkyFr3sh
1f11bf8b84 refactoring 2021-06-11 20:30:43 +02:00
FunkyFr3sh
19b43e8988 add .ini setting to return a full list of available resolutions 2021-06-10 03:48:26 +02:00
FunkyFr3sh
093284f565 add hack for armada 2021-06-09 07:24:17 +02:00
FunkyFr3sh
2934ac41da add new .ini setting for linear upscaling with gdi renderer 2021-06-07 02:59:21 +02:00
FunkyFr3sh
242c40a197 hook SetWindowsHookExA 2021-06-06 19:03:38 +02:00
FunkyFr3sh
50e6cf7534 make fixwndprochook useful for other games as well 2021-06-04 22:46:15 +02:00
FunkyFr3sh
03636f03ad remove old hack 2021-06-02 23:07:55 +02:00
FunkyFr3sh
96714b01c0 add new .ini settings fixwndprochook 2021-06-02 14:29:25 +02:00
FunkyFr3sh
f262004e13 add patch.h for testing 2021-06-01 17:35:00 +02:00
FunkyFr3sh
7372afd775 force redraw on ReleaseDC 2021-05-30 20:43:27 +02:00
FunkyFr3sh
29863ed472 hook MapWindowPoints 2021-05-29 21:40:21 +02:00
FunkyFr3sh
5baeb50d1e some passthrough tweaks 2021-05-29 20:52:57 +02:00
FunkyFr3sh
c3dd35f122 support GetDDInterface 2021-05-29 20:51:19 +02:00
FunkyFr3sh
e5dffb454b tweak QueryInterface 2021-05-28 22:19:38 +02:00
FunkyFr3sh
e5652ba849 add stubs 2021-05-26 17:07:14 +02:00
FunkyFr3sh
c5c47a5400 hook all dinput function 2021-05-23 14:55:36 +02:00
FunkyFr3sh
793ed44b44 add new "fixpitch" setting 2021-05-23 06:16:58 +02:00
FunkyFr3sh
9e9783f8d2 fix rgb palette 2021-05-22 12:23:25 +02:00
FunkyFr3sh
2425033a2f #93 support SetProcessDpiAwarenessContext for newer versions of windows 2021-05-22 06:07:11 +02:00
FunkyFr3sh
5db961656a rename upscale hack related stuff 2021-05-15 02:58:07 +02:00
FunkyFr3sh
c467b90e88 #92 allow shader upscale with vhack=true 2021-05-15 02:36:05 +02:00
FunkyFr3sh
39c62d6e7d support upscale hack for KKND Xtreme high resolution patch (vhack=true) 2021-05-15 00:41:50 +02:00
FunkyFr3sh
369d3c2b65 move dinput hooks into hook.c 2021-05-14 01:24:46 +02:00
FunkyFr3sh
1afa15bdba override first and last color in palette if DDPCAPS_ALLOW256 isn't set 2021-05-13 20:02:35 +02:00
FunkyFr3sh
3bc8fffe81 improve dinput hooks with hook=3 2021-05-11 21:45:38 +02:00
FunkyFr3sh
3e9c38dade fix some warning messages 2021-05-10 04:00:45 +02:00
FunkyFr3sh
6efc112c39 make old windows xp workaround optional 2021-05-08 23:42:29 +02:00
FunkyFr3sh
ae4446becb create backbuffer for flip games 2021-05-04 22:49:22 +02:00
FunkyFr3sh
7f9a6b5925 #81 use different workaround for D2 alt-key-stuck bug 2021-03-20 06:15:53 +01:00
FunkyFr3sh
2561147a4a fix wndproc hook 2021-03-03 20:30:31 +01:00
FunkyFr3sh
8f8fd74e3b adjust version numbers on shaders for core profiles 2021-02-22 12:10:21 +01:00
FunkyFr3sh
a6af34fbff optional wait_for_vblank on flip 2021-02-22 09:09:21 +01:00
FunkyFr3sh
65443fa4e4 new .ini option "maxgameticks=-2" 2021-02-19 03:24:11 +01:00
FunkyFr3sh
2fd2de207a typedef functions 2021-02-18 10:04:05 +01:00
FunkyFr3sh
e34cd3b5e2 re-enable maximize button 2021-02-18 07:10:15 +01:00
FunkyFr3sh
2d1b967630 add debug logging for window messages 2021-02-18 05:00:35 +01:00
FunkyFr3sh
76891cb766 use LoadLibrary 2021-02-03 20:50:14 +01:00
FunkyFr3sh
d8530d8cf6 fix typo 2021-02-02 21:33:39 +01:00
FunkyFr3sh
a6f85fbd73 improve fps limiter for vsync and maxfps=-1 2021-02-02 18:15:25 +01:00
FunkyFr3sh
76dd7ae674 create MiniDump on crash in Debug builds 2021-01-28 07:38:03 +01:00
FunkyFr3sh
a6a95ec936 add dummy IDirectDrawGammaControl 2021-01-09 19:51:26 +01:00
FunkyFr3sh
ddc631708d use WM_APP instead of WM_USER 2021-01-08 20:56:42 +01:00
FunkyFr3sh
05d665dea9 #52 fixes macOS OpenGL core profile 2020-10-23 17:56:24 +02:00
FunkyFr3sh
7d4075e314 #52 Possible fix for getting shaders to work on macOS 2020-10-23 03:17:03 +02:00
FunkyFr3sh
8c965c56c0 add dummy IAMMediaStream and IMediaStream interfaces 2020-10-22 21:30:37 +02:00
FunkyFr3sh
e106ce3055 add dummy Direct3D 2/3/7 interfaces 2020-10-22 18:58:56 +02:00
FunkyFr3sh
d85b6e3243 add hidden option for linear filtering on direct3d 9 (16bpp games only) 2020-10-21 17:14:40 +02:00
FunkyFr3sh
8e54756b4a add a new .ini setting for child window handling (currently only used for tm2) 2020-10-21 16:02:00 +02:00
FunkyFr3sh
8549494af2 #51 support GetDisplayMode 2020-10-20 16:38:51 +02:00
FunkyFr3sh
de02f46413 more hook 3/4 performance improvements 2020-10-20 05:59:41 +02:00
FunkyFr3sh
9c555c8e05 tweaks for last commit 2020-10-19 16:40:55 +02:00