Commit graph

250 commits

Author SHA1 Message Date
FunkyFr3sh
c13aece3f6 Revert "fix window resize/move issues"
This reverts commit 04d7f2060e.
2024-09-10 15:42:00 +02:00
FunkyFr3sh
efbf7e7b30 Revert "remove debug code"
This reverts commit 75ed1595c6.
2024-09-10 15:41:29 +02:00
FunkyFr3sh
8b96d0d34b Revert "fix ja2 cursor lock"
This reverts commit 48151e4d78.
2024-09-10 15:40:52 +02:00
FunkyFr3sh
7de3efd050 Revert "never return FALSE from peekmessage to avoid issues"
This reverts commit 89d3845473.
2024-09-10 15:40:44 +02:00
FunkyFr3sh
801d31f68e Revert "don't update cursor pos in mouse hook"
This reverts commit c1a5a3895b.
2024-09-10 15:40:35 +02:00
FunkyFr3sh
cdb68e9dd1 Revert "do not return WM_NULL for now (needs more testing)"
This reverts commit a42bdae84d.
2024-09-10 15:40:27 +02:00
FunkyFr3sh
4df4766736 Revert "remove old diablo 2 hack"
This reverts commit df91a4308f.
2024-09-10 15:40:13 +02:00
FunkyFr3sh
691b5196d5 Revert "return WM_NULL if there are no filters"
This reverts commit e4eafef652.
2024-09-10 15:40:05 +02:00
FunkyFr3sh
d2db12f2af Revert "only lock cursor if message was removed"
This reverts commit 8a6f94ae95.
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
FunkyFr3sh
a063e25825 fix last_msg_pull_tick update 2024-09-06 16:34:52 +02:00
FunkyFr3sh
560a7e6a20 add check to GetVersion functions 2024-09-03 18:22:38 +02:00
FunkyFr3sh
b88857386e add new "win_version" setting to fake the reported windows version 2024-09-03 18:07:16 +02:00
FunkyFr3sh
de86f913cb make Trivia windows transparent 2024-09-02 18:01:17 +02:00
FunkyFr3sh
056c0750b2 update SetDIBitsToDevice hook 2024-09-02 17:48:18 +02:00
FunkyFr3sh
66a31e2282 update bitblt hook 2024-09-02 17:45:10 +02:00
FunkyFr3sh
aac405031e add some more checks to fixnotresponding patch 2024-09-02 13:09:47 +02:00
FunkyFr3sh
d6b2249c78 add missing NULL checks 2024-09-01 13:52:36 +02:00
FunkyFr3sh
0e173ef6a8 add preset for lego loco 2024-09-01 13:32:03 +02:00
FunkyFr3sh
ccbf60698a allow to override SM_CXSCREEN and SM_CYSCREEN via fake_mode 2024-09-01 12:34:36 +02:00
FunkyFr3sh
094d020e05 allow to override bpp via fake_mode 2024-09-01 12:16:19 +02:00
FunkyFr3sh
fc99383f21 lie about SIZEPALETTE and NUMCOLORS in GetDeviceCaps 2024-08-30 10:25:38 +02:00
FunkyFr3sh
e6c5c4ede2 enable workaround for fallout 1 as well 2024-08-25 12:26:12 +02:00
FunkyFr3sh
ab3aac113e add comment 2024-08-21 10:22:59 +02:00
FunkyFr3sh
57d5a9cda3 add fallout 2 workaround for window not showing up in taskbar sometimes 2024-08-21 10:07:57 +02:00
FunkyFr3sh
a6adda6ace add commented out test code 2024-08-17 13:13:25 +02:00
FunkyFr3sh
e3b81f8250 only create opengl context once per window
fixes issues on intel and improves performance
2024-07-22 09:03:15 +02:00
FunkyFr3sh
7cb1fceac7 fix warnings 2024-07-18 01:50:31 +02:00
FunkyFr3sh
2465b13d73 add comments for AOE2 textbox hack 2024-07-14 07:59:39 +02:00
FunkyFr3sh
d968d320c6 fix textbox with maintain aspect ratio enabled 2024-07-14 07:29:26 +02:00
FunkyFr3sh
c850b0dcc3 fix AOE2 textbox position 2024-07-14 07:21:07 +02:00
FunkyFr3sh
c86b6f01a2 move debug code defines into header 2024-06-22 01:19:25 +02:00
FunkyFr3sh
188a41ee74 fix mingw build 2024-06-16 06:14:17 +02:00
FunkyFr3sh
f82987ceec add header 2024-06-16 05:37:55 +02:00
FunkyFr3sh
0ce1f4970c improve logging 2024-06-16 05:37:11 +02:00
FunkyFr3sh
4385f77b52 hook EnumDisplaySettingsA 2024-06-10 00:02:39 +02:00
FunkyFr3sh
ca0589ebc6 copy StretchBltMode from original DC 2024-06-06 02:29:48 +02:00
FunkyFr3sh
addd3538b5 add some testing code for claw dvd movies 2024-06-05 00:04:35 +02:00
FunkyFr3sh
d6786bc725 add missing scaling code to SetDIBitsToDevice 2024-06-04 03:55:40 +02:00
FunkyFr3sh
5112aa76e4 fix movies in atrox 2024-06-04 03:40:29 +02:00
FunkyFr3sh
648fe238ca tweak hook function 2024-06-02 22:17:26 +02:00
FunkyFr3sh
3715f372b9 add preset for Putt-Putt Saves The Zoo 2024-06-02 09:44:34 +02:00
FunkyFr3sh
b2e9e427f2 fix atrox cutscenes 2024-06-02 08:17:57 +02:00
FunkyFr3sh
7d0eeb7810 make sure quarts and msvfw are hooked 2024-06-01 23:04:06 +02:00
FunkyFr3sh
13df4b3cac fix windowed mode in some games 2024-06-01 20:43:38 +02:00
FunkyFr3sh
d8f29883b7 fix warnings 2024-06-01 07:41:03 +02:00
FunkyFr3sh
fb858f3f08 set up .ini section once and then reuse it 2024-06-01 07:29:48 +02:00
FunkyFr3sh
416c6a8d92 detect learning company games and remove presets 2024-06-01 06:30:00 +02:00
FunkyFr3sh
dd04e8ce74 fix TLC launcher fullscreen mode 2024-06-01 04:08:14 +02:00
FunkyFr3sh
c66b972f68 fix chils windows in dress designer 2024-06-01 02:20:21 +02:00
FunkyFr3sh
4b153ee11f don't save cursor post on peek/get message 2024-05-31 05:46:26 +02:00
FunkyFr3sh
0be22be87b make sure we don'T double hook 2024-05-31 02:23:30 +02:00
FunkyFr3sh
0e9e3f9d7a remove conditions 2024-05-31 01:49:43 +02:00
FunkyFr3sh
f9d2cb0d1f simplify cursor code 2024-05-30 23:55:30 +02:00
FunkyFr3sh
cff92182f9 add missing NULL check 2024-05-30 22:07:07 +02:00
FunkyFr3sh
188ef913c3 adjust peek/getmessage hooks 2024-05-30 21:32:02 +02:00
FunkyFr3sh
f5e0e95490 hook GetWindowPlacement 2024-05-30 03:00:23 +02:00
FunkyFr3sh
fada7b82dd fake desktop window size 2024-05-29 23:30:49 +02:00
FunkyFr3sh
815deee85d don't allow games to hide the taskbar 2024-05-29 05:54:28 +02:00
FunkyFr3sh
4de6eee162 make sure we got move+close menu items 2024-05-29 04:28:05 +02:00
FunkyFr3sh
cf3d0c51ad #313 improve American Girls Dress Designer support and merge changes into master 2024-05-28 22:23:47 +02:00
FunkyFr3sh
37a04d7598 improve logging for windows 2024-05-28 21:54:49 +02:00
FunkyFr3sh
9e61e993e8 use originl DC if possible 2024-05-28 03:08:25 +02:00
FunkyFr3sh
4771d1f4ad fix scaling bug 2024-05-28 02:46:17 +02:00
FunkyFr3sh
ed0f9ccbc9 fix warnings 2024-05-27 05:31:25 +02:00
FunkyFr3sh
c0d8c77f90 set and restore mode 2024-05-27 04:02:48 +02:00
FunkyFr3sh
f2bee3d0d2 adjust gdi hooks 2024-05-27 03:28:35 +02:00
FunkyFr3sh
9ced91af14 add experimental wing32 hooks 2024-05-27 01:15:30 +02:00
FunkyFr3sh
2f2367e5b5 hook BitBlt 2024-05-25 07:29:30 +02:00
FunkyFr3sh
17a4dde30a log return value of CreateWindowExA 2024-05-25 03:30:51 +02:00
FunkyFr3sh
99e0cf8b4a log CreateWindowExA calls 2024-05-24 22:16:32 +02:00
FunkyFr3sh
c18223e80a #292 fix mousei input issues in diablo 1 2024-05-22 04:38:10 +02:00
FunkyFr3sh
54d6ff5112 add support for woms 2 high resolution patch zoom 2024-05-08 05:54:56 +02:00
FunkyFr3sh
b34ec49a13 handle "AVI Window" in StretchDIBits as well 2024-04-26 01:27:34 +02:00
FunkyFr3sh
6ddc2ad00b #306 support cutscene upscaling for road rash 2024-04-26 01:13:50 +02:00
FunkyFr3sh
18c15280ba #304 add a check for CW_USEDEFAULT just to be sure 2024-04-16 03:11:33 +02:00
FunkyFr3sh
36bf42af6f allow negative values for window width/height 2024-04-16 02:54:40 +02:00
FunkyFr3sh
6dc8390fed #304 - Limit window size to max surface size (Dune2000 1.02) 2024-04-16 02:48:15 +02:00
FunkyFr3sh
36a87419e3 don't allocate ddraw struct 2024-03-22 22:27:00 +01:00
FunkyFr3sh
f57055fd8c add better forground window detection and always enable new GetKeyState hooks 2024-03-20 21:31:05 +01:00
FunkyFr3sh
c8d4cd997e use real_ functions 2024-03-20 05:41:42 +01:00
FunkyFr3sh
871ccbf196 hook GetKeyState and GetAsyncKeyState for infantry 2024-03-20 05:35:36 +01:00
FunkyFr3sh
eca7dde89e fix videos in wine 2024-02-17 23:18:42 +01:00
FunkyFr3sh
d04f9d3fa3 make sure we always hook dinput 2023-11-04 05:09:06 +01:00
FunkyFr3sh
c43f38fad3 improve mingw build - always hook dinput 2023-11-04 04:45:41 +01:00
FunkyFr3sh
8d64f660ec hook only when a new module was loaded 2023-10-23 13:38:24 +02:00
FunkyFr3sh
24a73ccc6d #251 hook GetMessage for Enemy Infestation 2023-10-07 09:03:11 +02:00
FunkyFr3sh
ce84abfac0 fix TA megamap mouse wheel zoom in windowed mode 2023-10-05 02:17:01 +02:00
FunkyFr3sh
fa8cdbd0df move all ini settings to c_config 2023-09-22 00:38:42 +02:00
FunkyFr3sh
5ebda1fec7 allow to specify min size for anti-aliased fonts 2023-09-16 01:11:03 +02:00