1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-19 23:59:36 +01:00

186 Commits

Author SHA1 Message Date
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
FunkyFr3sh
468e350528 check if resolution is valid without upscaling before trying to upscale 2x 2021-10-08 14:27:32 +02:00
FunkyFr3sh
f23a3e49ba #121 fix cursor lock for space rangers 2021-09-19 04:24:22 +02:00
FunkyFr3sh
09f57918cb fix ClipCursor for ja2 2021-09-19 03:04:45 +02:00
FunkyFr3sh
3f9ac549bc #121 return empty device identifier 2021-09-02 22:22:48 +02:00
FunkyFr3sh
c0e09b38b7 add SWP_FRAMECHANGED 2021-08-18 17:00:36 +02:00
FunkyFr3sh
02719f5744 remove passthrough setting and adjust presets 2021-08-08 22:39:32 +02:00
FunkyFr3sh
98c81c99fe tweaks for last commit 2021-08-05 00:39:06 +02:00
FunkyFr3sh
b3f9e7d045 #111 clear screen on resolution change and window resize 2021-08-05 00:26:29 +02:00
FunkyFr3sh
46c064ae56 remove WS_MAXIMIZE 2021-08-04 15:12:05 +02:00
FunkyFr3sh
d31ffbade5 add NULL check 2021-08-02 17:13:31 +02:00
FunkyFr3sh
2508643fe8 #107 fix adjmouse with borderless opengl (scrolling bug in Casino Empire) 2021-07-30 13:14:12 +02:00
FunkyFr3sh
8b92a3d5e6 keep cursor unlocked when switching from fullscreen to windowed to make alt+enter a better alternative to alt+tab 2021-07-03 18:16:51 +02:00
FunkyFr3sh
56ef3543c7 add some flags for SetDisplayMode 2021-07-03 18:07:38 +02:00
FunkyFr3sh
abebaa02a8 fix cursor with devmode 2021-06-19 15:19:22 +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
6cfeadaced fixes for cursor lock 2021-06-18 04:07:26 +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
f1bcff220d remove "handlemouse" setting 2021-06-16 05:57:19 +02:00
FunkyFr3sh
275ceeacbf remove old code 2021-06-14 10:00:25 +02:00
FunkyFr3sh
f29f712016 use older version of structs by default and cast to newer ones if needed 2021-06-14 09:57:26 +02:00
FunkyFr3sh
76b384e0cd some more tweaks to GetCaps 2021-06-14 09:18:14 +02:00
FunkyFr3sh
71e8f6deb4 fix GetCaps 2021-06-14 08:47:32 +02:00
FunkyFr3sh
1f11bf8b84 refactoring 2021-06-11 20:30:43 +02:00
FunkyFr3sh
b0dae7a82d return rather than break 2021-06-10 03:53:48 +02:00
FunkyFr3sh
19b43e8988 add .ini setting to return a full list of available resolutions 2021-06-10 03:48:26 +02:00
FunkyFr3sh
0a4c74ea2a add limiter for max resolution 2021-06-07 01:36:47 +02:00
FunkyFr3sh
0cc3dbb5e0 Revert "add limiter for max resolution"
This reverts commit b721757ef79636bbf6ffee9a9b66c58564de6d7d.
2021-06-07 00:50:14 +02:00
FunkyFr3sh
b721757ef7 add limiter for max resolution 2021-06-07 00:43:10 +02:00