1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-04-01 18:41:27 +02:00

230 Commits

Author SHA1 Message Date
FunkyFr3sh
f70f67857e hook DefWindowProcA 2024-12-18 03:15:23 +01:00
FunkyFr3sh
747e1ec3a7 fix return value of GetSystemPaletteEntries 2024-12-16 22:33:35 +01:00
FunkyFr3sh
f58c4a4978 log selected_pal_count 2024-12-16 21:48:45 +01:00
FunkyFr3sh
39b2e69540 make sure we don't update the palette twice 2024-12-16 21:33:05 +01:00
FunkyFr3sh
bbe8c4f857 log args 2024-12-16 20:45:24 +01:00
FunkyFr3sh
987b489a4c copy code from SetWindowPos 2024-12-16 02:03:10 +01:00
FunkyFr3sh
b38aeb30ae fix GetWindowPlacement hook for child windows 2024-12-16 01:56:02 +01:00
FunkyFr3sh
79548888d4 #367 hook SetWindowPlacement / Fix windowed mode 2024-12-16 00:43:57 +01:00
FunkyFr3sh
911c3bdfeb #367 fix videos in Imperialism 2: The Age of Exploration 2024-12-15 23:40:41 +01:00
FunkyFr3sh
bf62b84cb0 keep logs clean in mini debug build 2024-12-15 20:26:21 +01:00
FunkyFr3sh
75ed1582d2 hook RealizePalette 2024-12-15 20:17:26 +01:00
FunkyFr3sh
8be9875553 fix return value for NUMCOLORS on desktop window 2024-12-15 20:16:49 +01:00
FunkyFr3sh
9a015c47cb rename palette 2024-12-15 08:02:00 +01:00
FunkyFr3sh
308fefb654 add GetDesktopWindow check 2024-12-15 08:01:23 +01:00
FunkyFr3sh
b15e579ea4 add some checks 2024-12-15 02:32:06 +01:00
FunkyFr3sh
60735fc0d5 use return value from GetPaletteEntries 2024-12-15 02:26:47 +01:00
FunkyFr3sh
a5a4204f41 hook SelectPalette 2024-12-15 02:01:08 +01:00
FunkyFr3sh
6c67db5db1 log args as well 2024-12-15 01:20:12 +01:00
FunkyFr3sh
091a8c1d6e add debug logging 2024-12-15 01:17:53 +01:00
FunkyFr3sh
0905cb8059 log function call 2024-12-15 01:00:09 +01:00
FunkyFr3sh
58f8f89c66 remove debug code 2024-12-15 00:56:47 +01:00
FunkyFr3sh
06aadb709f fix for last commit 2024-12-15 00:56:37 +01:00
FunkyFr3sh
82d3ec46a3 copy from g_ddp_me_palette if there's no primary yet 2024-12-15 00:56:06 +01:00
FunkyFr3sh
1c263ca573 hook GetSystemPaletteEntries 2024-12-15 00:46:44 +01:00
FunkyFr3sh
e6c9eea473 log SetWindowsHookExA hook types 2024-11-25 21:20:29 +01:00
FunkyFr3sh
e142d06946 remove invalid ExStyle 2024-09-18 17:59:34 +02:00
FunkyFr3sh
f690749ca9 cleanup settings names/order 2024-09-12 18:11:08 +02:00
FunkyFr3sh
cd021dc090 merge PeekMessage and GetMessage hooks 2024-09-11 16:16:59 +02:00
FunkyFr3sh
a9f0b8f8f5 don't let messages pass through with peek/getmessage hooks 2024-09-11 15:47:31 +02:00
FunkyFr3sh
5af1d683d8 Revert "add experimental WH_GETMESSAGE hook"
This reverts commit dcc76a154dec7dd35e4299c0e77a58efdfbf3d8a.
2024-09-10 15:42:14 +02:00
FunkyFr3sh
c13aece3f6 Revert "fix window resize/move issues"
This reverts commit 04d7f2060e900c66c3c8a5e285a078c1d8d20509.
2024-09-10 15:42:00 +02:00
FunkyFr3sh
efbf7e7b30 Revert "remove debug code"
This reverts commit 75ed1595c6288a55e0d7ba4410c169a7e1c3b445.
2024-09-10 15:41:29 +02:00
FunkyFr3sh
8b96d0d34b Revert "fix ja2 cursor lock"
This reverts commit 48151e4d78489cd947c689bb6a2838bad48f03b4.
2024-09-10 15:40:52 +02:00
FunkyFr3sh
7de3efd050 Revert "never return FALSE from peekmessage to avoid issues"
This reverts commit 89d38454733b115f743c98a94922bb5f2527830f.
2024-09-10 15:40:44 +02:00
FunkyFr3sh
801d31f68e Revert "don't update cursor pos in mouse hook"
This reverts commit c1a5a3895b53462bb5fa8feac57a1b240538e780.
2024-09-10 15:40:35 +02:00
FunkyFr3sh
cdb68e9dd1 Revert "do not return WM_NULL for now (needs more testing)"
This reverts commit a42bdae84d2129a0d91eaa225b3e2b46f419b392.
2024-09-10 15:40:27 +02:00
FunkyFr3sh
4df4766736 Revert "remove old diablo 2 hack"
This reverts commit df91a4308f380b45938dfd2e190fe17b55823c9d.
2024-09-10 15:40:13 +02:00
FunkyFr3sh
691b5196d5 Revert "return WM_NULL if there are no filters"
This reverts commit e4eafef6526426f99c185b0d138fc8f031a8426c.
2024-09-10 15:40:05 +02:00
FunkyFr3sh
d2db12f2af Revert "only lock cursor if message was removed"
This reverts commit 8a6f94ae95b2b91d8b3b249bca32beaabb5d5719.
2024-09-10 15:39:53 +02:00
FunkyFr3sh
8a6f94ae95 only lock cursor if message was removed 2024-09-09 20:31:49 +02:00
FunkyFr3sh
e4eafef652 return WM_NULL if there are no filters 2024-09-09 16:58:22 +02:00
FunkyFr3sh
df91a4308f remove old diablo 2 hack 2024-09-09 16:01:45 +02:00
FunkyFr3sh
a42bdae84d do not return WM_NULL for now (needs more testing) 2024-09-09 15:31:18 +02:00
FunkyFr3sh
c1a5a3895b don't update cursor pos in mouse hook 2024-09-09 15:23:31 +02:00
FunkyFr3sh
89d3845473 never return FALSE from peekmessage to avoid issues 2024-09-09 15:15:08 +02:00
FunkyFr3sh
48151e4d78 fix ja2 cursor lock 2024-09-09 15:05:28 +02:00
FunkyFr3sh
75ed1595c6 remove debug code 2024-09-09 14:21:09 +02:00
FunkyFr3sh
04d7f2060e fix window resize/move issues 2024-09-09 14:12:25 +02:00
FunkyFr3sh
dcc76a154d add experimental WH_GETMESSAGE hook 2024-09-08 19:14:58 +02:00
FunkyFr3sh
9c18999a11 fix hotkey for Fallout2, jagged alliance 2, trivia and a probably a few other games 2024-09-06 18:10:22 +02:00