Commit graph

234 commits

Author SHA1 Message Date
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
FunkyFr3sh
b690cb5c24 improve hook 3/4 performance 2020-10-19 16:37:12 +02:00
FunkyFr3sh
7d0e3e8da5 replace "forcefps=" with "minfps=" 2020-10-18 02:40:45 +02:00
FunkyFr3sh
583d927da6 add a few more missing functions for logging 2020-10-16 01:03:01 +02:00
FunkyFr3sh
6e54817718 add a hack for Dungeon Keeper 2 util there's a better solution 2020-10-15 07:43:03 +02:00
FunkyFr3sh
1ebacfcd27 comment on ddraw passthrough 2020-10-15 07:22:48 +02:00
FunkyFr3sh
ae4b72c9c9 export DirectDrawCreateEx 2020-10-15 05:13:37 +02:00
FunkyFr3sh
b496169243 add dummy IDirect3D interface 2020-10-14 00:42:42 +02:00
FunkyFr3sh
b10ece0687 support GetMonitorFrequency 2020-10-13 22:55:49 +02:00
FunkyFr3sh
be79bb8c8b align and tweak some more 2020-10-13 11:29:52 +02:00
FunkyFr3sh
b417da74f6 align 2020-10-13 10:53:30 +02:00
FunkyFr3sh
25e561d953 add DebugLog build config 2020-10-13 10:15:42 +02:00
FunkyFr3sh
baaa87b18f refactoring 2020-10-13 09:20:52 +02:00
FunkyFr3sh
37af4e6ee4 add 2 new .ini settings "nonexclusive" and "resizable" 2020-10-06 20:43:40 +02:00
FunkyFr3sh
2c629cbe55 some Twisted Metal experiments 2020-10-06 02:33:41 +02:00
FunkyFr3sh
27323efa4b Fix for twisted metal 2 2020-09-27 13:38:41 +02:00
FunkyFr3sh
5231054096 #29 Fix Sierra City Building series scrolling bugs 2020-09-25 08:07:41 +02:00
FunkyFr3sh
3aed2239ab #29 Sierra's City Building series support (Caesar III, Pharaoh and Zeus) 2020-09-24 10:29:18 +02:00
FunkyFr3sh
ad16993376 Add Twisted Metal 2 section to ddraw.ini 2020-09-23 04:37:28 +02:00
FunkyFr3sh
62d1451885 IAT Hooking for all game modules (Without Detours) 2020-09-22 07:08:14 +02:00
FunkyFr3sh
28b4965611 #41 IAT Hooking for all game modules 2020-09-19 11:23:06 +02:00
FunkyFr3sh
4e6ecfe37c #39 hook GetDeviceCaps - fixes graphcial glitches for Megaman X4 2020-09-17 05:49:36 +02:00
FunkyFr3sh
2d94d42e91 #5 add forcefps bool 2020-01-23 08:58:22 +01:00
FunkyFr3sh
da09069d7b adjust fps limiter for gdi renderer 2020-01-22 11:35:04 +01:00
FunkyFr3sh
cee27902b1 support GetAvailableVidMem 2019-08-30 05:37:29 +02:00
FunkyFr3sh
1198cb0e93 always run bnet in windowed mode 2019-08-19 17:02:36 +02:00
FunkyFr3sh
8f28bfad9c resize window on bnet 2019-08-14 17:53:36 +02:00
FunkyFr3sh
43224a0f65 add resizeable bool 2019-08-13 15:46:05 +02:00
FunkyFr3sh
42541debda don't toggle fullscreen instantly when leaving bnet 2019-08-08 12:40:20 +02:00
FunkyFr3sh
7b70ec2297 temp changes 2019-08-08 07:13:53 +02:00
FunkyFr3sh
f400504dd8 clean up bnet related code 2019-08-08 03:19:15 +02:00
FunkyFr3sh
122dca8216 sync with master 2019-08-07 13:05:05 +02:00
FunkyFr3sh
0a779ac4fe sync with master 2019-08-07 12:45:40 +02:00