Commit graph

214 commits

Author SHA1 Message Date
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
andrews05
3c264e2077 Add min_font_size setting 2023-09-16 10:08:15 +12:00
FunkyFr3sh
accc47e377 fix cursor position issues with downscaling 2023-09-14 16:47:28 +02:00
FunkyFr3sh
77bd7aa3bb add hooks to fix blurry fonts 2023-09-08 18:22:37 +02:00
FunkyFr3sh
60d85725f5 fix some compiler warnings 2023-09-06 20:06:03 +02:00
FunkyFr3sh
5fd49993c0 center claw DVD movies 2023-08-30 21:45:49 +02:00
FunkyFr3sh
66e86aa37c replace IsIconic with custom function 2023-08-20 23:12:00 +02:00
FunkyFr3sh
594cc4d8da add DebugLogMini build config 2023-08-10 14:41:42 +02:00
FunkyFr3sh
d7786e1f0e support CLSID_DirectDrawClipper in CoCreateInstance 2023-08-10 11:32:43 +02:00
FunkyFr3sh
6c3790cd24 replace hook=3 with GetProcAddress hook 2023-08-06 09:09:38 +02:00
FunkyFr3sh
c530f5f4a8 log SetWindowsHookExA 2023-08-04 10:00:38 +02:00
FunkyFr3sh
ad1a35aa84 remove dinputhook setting 2023-08-02 17:09:01 +02:00
FunkyFr3sh
1452bbe598 remove early hook function 2023-08-02 15:15:44 +02:00
FunkyFr3sh
81294dbecf remove old code 2023-08-01 03:02:35 +02:00
FunkyFr3sh
e42d000366 remove fixwndprochook setting 2023-07-31 07:33:57 +02:00
FunkyFr3sh
6269950402 #227 fix changing resolutions bug 2023-07-28 05:50:23 +02:00
FunkyFr3sh
766e4b434c hook SetForegroundWindow for profile links 2023-07-17 21:57:00 +02:00
FunkyFr3sh
f86ad29835 fix for non working links in profile 2023-07-17 21:44:20 +02:00
FunkyFr3sh
c1a9d72b68 Revert "update ShowWindow hook"
This reverts commit 19d1d4f942.
2023-07-11 02:33:06 +02:00
FunkyFr3sh
225f764388 fix MoveWindow WM_SIZE 2023-07-11 02:13:30 +02:00
FunkyFr3sh
e6596492ad add wm move 2023-07-10 23:59:56 +02:00
FunkyFr3sh
92ba581e28 send WM_SIZE on MoveWindow 2023-07-10 23:55:44 +02:00
FunkyFr3sh
19d1d4f942 update ShowWindow hook 2023-07-10 22:08:50 +02:00
FunkyFr3sh
087f41ce11 hook SetUnhandledExceptionFilter for debug build 2023-06-29 21:13:04 +02:00
FunkyFr3sh
3ceddd1517 tweak peekmessage hook 2023-03-06 03:55:10 +01:00
FunkyFr3sh
1324a96740 fix peekmessage hook for New Robinson 2023-03-06 03:48:50 +01:00
FunkyFr3sh
d2557c66c8
#208 2023-03-03 22:29:35 +01:00
FunkyFr3sh
67188ea500 add NULL check 2023-02-27 18:30:35 +01:00
FunkyFr3sh
336eb1bdba add missing check 2023-02-27 18:27:30 +01:00
FunkyFr3sh
86e3de4ad6 hook PeekMessageA for EV Nova 2023-02-27 18:25:28 +01:00
FunkyFr3sh
24d66d8a30 hook GetForegroundWindow 2022-10-19 05:08:22 +02:00
FunkyFr3sh
ab773f6469 hook GetTopWindow 2022-10-18 22:21:42 +02:00
FunkyFr3sh
7abd1f743c always enable GetDiskFreeSpace patch 2022-10-16 00:02:43 +02:00
FunkyFr3sh
1170d0dd12 #179 hook GetDiskFreeSpaceA 2022-10-15 18:28:23 +02:00
FunkyFr3sh
82526a9597 add another check to StretchBlt hook 2022-10-07 17:11:35 +02:00
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