1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-22 16:46:16 +01:00

165 Commits

Author SHA1 Message Date
FunkyFr3sh
bdb5675459 make maxgameticks working via surface unlock for atomic bomberman 2018-11-09 20:39:45 +01:00
FunkyFr3sh
0e3e7659cb save window position on wine 2018-11-09 00:30:29 +01:00
FunkyFr3sh
c8c86f8282 remember window state 2018-11-07 23:28:19 +01:00
FunkyFr3sh
e14e1e74c5 remove sleep in setdisplaymode 2018-11-07 17:42:08 +01:00
FunkyFr3sh
b69e89d1de don't override maintain aspect ratio option globally when fullscreen resolution isn't supported 2018-11-05 20:48:42 +01:00
FunkyFr3sh
14ea479797 some more wine tweaks to improve performance on minimize 2018-11-05 14:16:30 +01:00
FunkyFr3sh
e59043f43f fix resizable window on wine 2018-11-05 14:05:32 +01:00
FunkyFr3sh
72a86a9f78 make alt+enter working with a resized window 2018-11-04 19:35:38 +01:00
FunkyFr3sh
d68cb86430 addref fix 2018-11-02 03:20:36 +01:00
FunkyFr3sh
8ba6185965 fix for carmageddon 2 2018-11-02 02:21:16 +01:00
FunkyFr3sh
7b55df3ed7 remove screenshot hotkey 2018-11-01 20:14:33 +01:00
FunkyFr3sh
d56240e178 make windowed+stretching working for a lot of non-cnc games 2018-11-01 20:09:42 +01:00
FunkyFr3sh
0e6d415f63 remove sleep hack and add a smarter game speed limiter that takes the games performance into account 2018-10-31 11:48:41 +01:00
FunkyFr3sh
82b245228c add dummy callback + new preset 2018-10-30 19:38:32 +01:00
FunkyFr3sh
90a31e1daf limit resolutions in EnumDisplayModes to prevent crashes 2018-10-30 17:54:14 +01:00
FunkyFr3sh
429389af07 lock mouse in windowed mode if resolution changed during runtime 2018-10-30 14:35:13 +01:00
FunkyFr3sh
d79b2086cc make sure only 8bit video modes are used + add some more debugging code 2018-10-30 08:29:19 +01:00
FunkyFr3sh
bde5fcd70b remove unused code + add some more presets 2018-10-29 05:47:01 +01:00
FunkyFr3sh
5e121fd76b fix for maintain aspect ratio 2018-10-28 13:00:50 +01:00
FunkyFr3sh
ff5fcec431 raise version number 2018-10-28 12:41:08 +01:00
FunkyFr3sh
0bca0877fb restrict size via WM_SIZING 2018-10-28 12:38:57 +01:00
FunkyFr3sh
30618755a1 don't use WM_GETMINMAXINFO to prevent possible bugs later on 2018-10-28 08:01:31 +01:00
FunkyFr3sh
a07fec08e0 maintain aspect ratio on resize 2018-10-28 06:46:35 +01:00
FunkyFr3sh
d70104c610 force redraw 2018-10-27 17:39:43 +02:00
FunkyFr3sh
5bcf6b2a97 resizable window 2018-10-27 16:44:09 +02:00
FunkyFr3sh
7f0eef570b add partial support for DDBLT_KEYSRC 2018-10-27 09:23:00 +02:00
FunkyFr3sh
5477e5139a fixes resolution changes during run time with d3d9 and opengl renderers 2018-10-27 02:28:07 +02:00
FunkyFr3sh
202e4eb869 improve logging 2018-10-26 10:34:45 +02:00
FunkyFr3sh
70492f6412 highlight unsupported functions (for easier DebugString real-time filtering) 2018-10-26 07:24:38 +02:00
FunkyFr3sh
cbc66c3bc2 implement EnumDisplayModes and BltFast - Fixes DDBLT_COLORFILL with NULL rect - support resolution changes during runtime (AoE2) 2018-10-26 05:27:10 +02:00
FunkyFr3sh
3fa02ac34d support for loading/saving settings for multiple games via a single settings file 2018-10-25 07:03:01 +02:00
FunkyFr3sh
67f7f2bfe6 move detect_cutscene into main.c since it's used by all renderers 2018-10-25 04:15:53 +02:00
FunkyFr3sh
b9eda0f6af allow Sleep hack with GDI renderer 2018-10-25 04:05:44 +02:00
FunkyFr3sh
4fe2bf7c99 screenshots in .bmp format without libpng 2018-10-24 09:01:24 +02:00
FunkyFr3sh
35ac845688 use run-time dynamic linking for opengl32.dll to prevent random bugs where the game fails to start 2018-10-24 04:21:22 +02:00
FunkyFr3sh
21500ca591 make sure d3ddev is not null 2018-10-15 03:31:57 +02:00
FunkyFr3sh
59f0f4d9b2 add a header file for d3d9 renderer 2018-10-15 00:57:05 +02:00
FunkyFr3sh
28c9886dbe fix d3d9 multi threading 2018-10-15 00:01:31 +02:00
FunkyFr3sh
f70a085f08 make d3d9 the default on every version of windows 2018-10-12 16:50:18 +02:00
FunkyFr3sh
f0b280485f return 0 on WM_D3D9FULLSCREEN 2018-10-09 09:33:17 +02:00
FunkyFr3sh
42d13edb92 fix d3d9 automatic cursor lock on alt+tab 2018-10-09 09:16:00 +02:00
FunkyFr3sh
c2c60683b2 no ChangeDisplaySettings on alt+enter with d3d9 2018-10-08 10:17:26 +02:00
FunkyFr3sh
04e063252c don't change display settings, let d3d9 do it 2018-10-08 08:42:08 +02:00
FunkyFr3sh
bbe8fa11d8 release d3d9 on alt+enter 2018-10-07 16:49:35 +02:00
FunkyFr3sh
12655fa5a3 stop drawing and release d3d9 on alt+tab 2018-10-07 13:42:32 +02:00
FunkyFr3sh
1b23e1d42b use d3d9 only on vista and xp 2018-10-05 12:54:53 +02:00
FunkyFr3sh
7bffd78db5 opengl / d3d9 windowed-fullscreen aka borderless 2018-10-05 10:01:38 +02:00
FunkyFr3sh
519f499d23 improve d3d9 auto renderer check 2018-10-04 06:27:03 +02:00
FunkyFr3sh
ff331d32f1 tweak d3d9 alt+enter 2018-10-03 15:10:57 +02:00
FunkyFr3sh
1a6de69da4 switch to windowed on minimize and go back to fullscreen exclusive on restore - makes alt+tab failsafe 2018-10-03 14:54:47 +02:00