1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

166 Commits

Author SHA1 Message Date
FunkyFr3sh
df76f81956 add NULL check 2022-10-07 01:50:04 +02:00
FunkyFr3sh
053206b414 detect movie windows 2022-10-07 01:05:27 +02:00
FunkyFr3sh
ad8215eee8 make sure hwnd is not NULL 2022-10-05 23:33:56 +02:00
FunkyFr3sh
987695a626 fix return value 2022-10-05 23:08:14 +02:00
FunkyFr3sh
984febf209 add some checks to old hooks 2022-10-05 22:34:37 +02:00
FunkyFr3sh
80bf433a2b hook StretchDIBits 2022-10-05 22:33:53 +02:00
FunkyFr3sh
6a12187122 use constant 2022-10-03 13:48:06 +02:00
FunkyFr3sh
2a8a5f85ec hook SetDIBitsToDevice 2022-10-03 12:19:15 +02:00
FunkyFr3sh
707239ba61 add IsChild check for fixchilds setting 2022-10-03 01:43:54 +02:00
FunkyFr3sh
f068b1217b fix compiler warning 2022-10-02 21:07:01 +02:00
FunkyFr3sh
5595dbeff7 tweak StretchBlt hook 2022-10-02 20:55:20 +02:00
FunkyFr3sh
c9262a5ee9 hook stretchblt 2022-10-02 18:41:06 +02:00
FunkyFr3sh
9f134dc6ed Make sure window is not minimized while locking the cursor 2022-09-23 00:47:59 +02:00
FunkyFr3sh
1b791fb2cb only lock cursor in borderless if game window is the foreground window 2022-09-20 08:59:36 +02:00
FunkyFr3sh
571372f9ca fix adjmouse bug 2022-02-15 10:17:05 +01:00
FunkyFr3sh
4a0d74001a center war2 high res patch windows 2021-11-05 21:04:12 +01:00
FunkyFr3sh
37c8dc1d91 don't override .ini setting on bnet 2021-11-05 15:23:35 +01: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
098bf6a248 skip SW_MINIMIZE hook with hook=2 and hook=3 2021-09-16 01:50:18 +02:00
FunkyFr3sh
bff9a9605c don't minimize on alt+tab
(cherry picked from commit 9207d652a881f789aff27f08a4ca09006852979e)
2021-09-16 01:47:56 +02:00
FunkyFr3sh
ebda8282b2 #118 merge latest sir-tech fixes
(cherry picked from commit 994d4c646fafe58c49631283c72b755d81dbf865)
2021-09-16 01:47:14 +02:00
FunkyFr3sh
3f9ac549bc #121 return empty device identifier 2021-09-02 22:22:48 +02:00
FunkyFr3sh
8314ea5545 do full Detours hook with hook=3 2021-08-06 02:07:50 +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
46d09b2175 add some tweaks for testing to MapWindowPoints hook 2021-06-25 14:35:22 +02:00
FunkyFr3sh
057e41e3c1 #100 tweak old 640x480 hack for cnc1 and ra1 2021-06-21 01:45:52 +02:00
FunkyFr3sh
350cdbd0ba fix SetCursor hook 2021-06-19 04:28:15 +02:00
FunkyFr3sh
5700a0eb4c fix saved cursor pos 2021-06-18 04:07:53 +02:00
FunkyFr3sh
af4c0710f6 use rounding for better results 2021-06-18 04:07:32 +02:00
FunkyFr3sh
6cfeadaced fixes for cursor lock 2021-06-18 04:07:26 +02:00
FunkyFr3sh
3ffd113050 fix 2021-06-18 04:07:00 +02:00
FunkyFr3sh
684224b833 remove "handlemouse" setting 2021-06-18 04:06:48 +02:00
FunkyFr3sh
abdb74942b Revert "remove "handlemouse" setting"
This reverts commit f1bcff220deee72552ea26c7695195409714f8e3.
2021-06-16 07:47:15 +02:00
FunkyFr3sh
6043bc9061 Revert "fix"
This reverts commit c4e8b9f2491168f5c9f9bcb28a4755418385572d.
2021-06-16 07:47:08 +02:00
FunkyFr3sh
c4e8b9f249 fix 2021-06-16 06:58:00 +02:00
FunkyFr3sh
f1bcff220d remove "handlemouse" setting 2021-06-16 05:57:19 +02:00
FunkyFr3sh
94e5652e11 fix for last commit 2021-06-12 05:57:45 +02:00
FunkyFr3sh
a399797982 improve cursor lock 2021-06-12 05:45:28 +02:00
FunkyFr3sh
1f11bf8b84 refactoring 2021-06-11 20:30:43 +02:00
FunkyFr3sh
a8edc2a465 let WM_SIZE pass through 2021-06-10 02:18:15 +02:00
FunkyFr3sh
eab5dc43fa restore secondary check just to be sure 2021-06-09 18:19:31 +02:00
FunkyFr3sh
a465d1429b fix 2021-06-09 17:26:37 +02:00
FunkyFr3sh
76a628b8fa even more tweaks to SetWindowPos and MoveWindow hooks 2021-06-09 17:16:16 +02:00
FunkyFr3sh
76ddccd3a3 more tweaks to SetWindowPos and MoveWindow hooks 2021-06-09 08:08:52 +02:00
FunkyFr3sh
288903687a more tweaks to SetWindowPos and MoveWindow hooks 2021-06-09 05:22:52 +02:00
FunkyFr3sh
88a1dbb2f5 fix SetWindowPos and MoveWindow hooks 2021-06-09 04:51:29 +02:00
FunkyFr3sh
7cce45b64a fix CreateWindowExA hook 2021-06-09 02:38:19 +02:00
FunkyFr3sh
242c40a197 hook SetWindowsHookExA 2021-06-06 19:03:38 +02:00