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

116 Commits

Author SHA1 Message Date
FunkyFr3sh
c1a9d72b68 Revert "update ShowWindow hook"
This reverts commit 19d1d4f942a2838d4eefb39fa468ae4189de6b7f.
2023-07-11 02:33:06 +02:00
FunkyFr3sh
19d1d4f942 update ShowWindow hook 2023-07-10 22:08:50 +02:00
FunkyFr3sh
0f37251d64 switch to borderless on failure (linux mint) 2023-07-10 03:01:15 +02:00
FunkyFr3sh
6fc969097d make sure width is not below game width 2023-07-10 02:17:03 +02:00
FunkyFr3sh
1aca711562 don't use PeekMessageA hack on wine 2023-07-09 06:25:37 +02:00
FunkyFr3sh
36aa243d10 use SetWindowPos to fix mouse lock bug in HOMM4 2023-07-08 04:11:26 +02:00
FunkyFr3sh
3b7b1f308f always redraw for HOMM4 2023-07-08 00:28:17 +02:00
FunkyFr3sh
dfe15ec8b0 fix for HOMM4 cursor issues 2023-07-07 23:54:59 +02:00
FunkyFr3sh
6101e34ddd remove menu in fullscreen/borderless modes 2023-07-07 20:43:54 +02:00
FunkyFr3sh
045ed051ea fix for opengl borderless mode 2023-07-07 01:24:16 +02:00
FunkyFr3sh
e39414a477 force pos 0,0 in borderless mode 2023-07-03 02:59:04 +02:00
FunkyFr3sh
9cf4881aa2 use real_ function 2023-06-03 00:56:18 +02:00
FunkyFr3sh
56488f9dac Revert "always enable fixnotresponding patch"
This reverts commit a80ffeb7aa350aea2ef45f3382bdefa1c2836a36.
2023-01-17 04:46:24 +01:00
FunkyFr3sh
a80ffeb7aa always enable fixnotresponding patch 2022-10-22 02:52:58 +02:00
FunkyFr3sh
8566355e0d rename var 2022-10-20 03:13:09 +02:00
FunkyFr3sh
f6bc942f9a use g_ddraw->hwnd 2022-10-20 02:43:33 +02:00
FunkyFr3sh
0345cbdda3 only limit ticks in gui thread 2022-10-19 23:48:20 +02:00
FunkyFr3sh
24d66d8a30 hook GetForegroundWindow 2022-10-19 05:08:22 +02:00
FunkyFr3sh
6eeb53e546 allow to use small resolution list for all games 2022-10-17 00:59:20 +02:00
FunkyFr3sh
48064d4ad3 #180 add high resolutions for Baldur's Gate II 2022-10-15 20:33:06 +02:00
FunkyFr3sh
cd5efade5d add another minimized check for fullscreen mode 2022-10-14 23:00:23 +02:00
FunkyFr3sh
28e15077ca make sure window is not minimized 2022-10-14 22:20:14 +02:00
FunkyFr3sh
1fb996d8a2 limit available resolutions to avoid crashes (Infantry Online) 2022-10-11 23:13:04 +02:00
FunkyFr3sh
cd1c2f333c simplify 2022-10-03 13:23:22 +02:00
FunkyFr3sh
351ad8d2d4 force window position to be 0,0 with opengl nonexclusive 2022-10-03 13:20:59 +02:00
FunkyFr3sh
a3469be07a improve debug logs 2022-09-30 14:16:30 +02:00
FunkyFr3sh
b8e7c857ee #174 only send SWP_FRAMECHANGED when frame was actually changed 2022-09-28 21:07:06 +02:00
FunkyFr3sh
0798408ba4 tweak dd_release 2022-09-26 14:06:53 +02:00
FunkyFr3sh
6e93df0580 only reset d3d9 if not windowed already 2022-09-23 02:59:02 +02:00
FunkyFr3sh
30c15e761a release d3d9 in case reset fails 2022-09-23 02:45:59 +02:00
FunkyFr3sh
415f74887f try to avoid d3d9_release to workaround nvidia bug 2022-09-23 02:17:33 +02:00
FunkyFr3sh
2d76b4916d use real function and not the hooked one 2022-09-21 21:24:04 +02:00
FunkyFr3sh
57678ce9f8 use AdjustWindowRectEx 2022-09-21 21:13:08 +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
f4ee6128c4 detect if AVX is supported 2022-09-19 13:13:34 +02:00
FunkyFr3sh
dc0204cf71 remove fixpitch setting 2022-09-13 09:34:48 +02:00
FunkyFr3sh
25d8669007 fix pitch values 2022-09-10 00:12:31 +02:00
FunkyFr3sh
678160848e Make sure native res is always available 2022-09-05 03:48:24 +02:00
FunkyFr3sh
553ee34433 force fullscreen = FALSE on zone list 2022-02-25 00:04:07 +01:00
FunkyFr3sh
68633e7aa6 #138 center window for infantry online
(cherry picked from commit d476fbc7045482d0b17e85cc83e109450f41ee7c)
2022-02-19 12:24:01 +01:00
FunkyFr3sh
69041f7493 #138 force fullscreen 640x480 if user selects "windowed" in the menu
(cherry picked from commit 2edbeabd3e3f96bb31ceea08299ff0914f5bdaa1)
2022-02-19 12:23:51 +01:00
FunkyFr3sh
bedf34664c #138 use 16bpp for zone list (fixes windowed black screen outside of zone list)
(cherry picked from commit dbaf9c2f88ea7678d20b816a35e2bc5babbdcfc5)
2022-02-19 12:23:46 +01:00
FunkyFr3sh
8fd63703a8 #138 remove WM_SIZE and WM_MOVE messages (they're interfering with the game's own windowed mode...)
(cherry picked from commit d83c3362aef66783327128a0cf3617c1ad4c44b1)
2022-02-19 12:23:41 +01:00
FunkyFr3sh
96bcaeb036 log available display modes 2022-02-15 10:36:41 +01:00
FunkyFr3sh
7d966e5e8d #138 force windowe mode in zone list 2022-02-05 04:02:06 +01:00
FunkyFr3sh
f013a76c7e #138 fix bMenu bool in AdjustWindowRect calls
(cherry picked from commit aee8747898f7b41f92e93ae8dd80c8ac5b38291e)
2022-02-05 03:47:55 +01:00
FunkyFr3sh
8409769b73 #138 call SetDisplayMode from SetCooperativeLevel when there's no DDSCL_FULLSCREEN flag
(cherry picked from commit 90591ac8286c20cecfada08d102787943cf9f515)
2022-02-05 03:47:32 +01:00
FunkyFr3sh
f803a9363f #132 add SWP_SHOWWINDOW 2021-12-16 03:28:50 +01:00
FunkyFr3sh
11c0353b82 some tweaks for upscaling checks 2021-10-31 21:19:16 +01:00
FunkyFr3sh
ec99f9be03 add another check for faulty upscaling resolution 2021-10-08 14:29:00 +02:00