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

314 Commits

Author SHA1 Message Date
FunkyFr3sh
9cbd2de62f force at least 5 FPS to avoid problems in the menus 2018-10-03 12:12:11 +02:00
FunkyFr3sh
24b0e5cf24 fix d3d9 alt+enter - use d3d9 on xp/vista/7 even with dwm enabled 2018-10-03 09:51:15 +02:00
FunkyFr3sh
c0a26ce858 enables fullscreen exclusive mode for d3d9 2018-10-03 08:50:00 +02:00
FunkyFr3sh
d693217fc8 bump version 2018-10-02 16:29:40 +02:00
FunkyFr3sh
848f996f9b try to use 1.30 shader first and use 1.10 shader as fallback solution 2018-10-02 16:26:37 +02:00
FunkyFr3sh
29478d6e25 remove legacy opengl code 2018-10-02 15:58:30 +02:00
FunkyFr3sh
b2cf1b0a55 move pixel shader into header file 2018-10-02 12:19:46 +02:00
FunkyFr3sh
ebae1add37 remove duplicate debug code 2018-10-02 11:38:38 +02:00
FunkyFr3sh
fa6f9e197e separate into multiple functions 2018-10-02 03:25:34 +02:00
FunkyFr3sh
15686ce5d3 don't delete resources on reset since they're all managed 2018-10-02 02:27:58 +02:00
FunkyFr3sh
4ed8eed654 don't use d3d9 on wine 2018-10-02 01:59:14 +02:00
FunkyFr3sh
0976e87304 fix ddraw.ini description 2018-10-01 13:11:52 +02:00
FunkyFr3sh
962ee35adc add d3d9 vhack 2018-10-01 13:10:10 +02:00
FunkyFr3sh
88adfe633d use d3d9 on xp/vista/7 2018-10-01 11:50:56 +02:00
FunkyFr3sh
ae14e3d9f0 use square POT textures for better compatibility 2018-09-30 09:23:00 +02:00
FunkyFr3sh
f701a18139 bump version 2018-09-30 07:45:24 +02:00
FunkyFr3sh
7f23ad5563 try to use D3DCREATE_HARDWARE_VERTEXPROCESSING | D3DCREATE_PUREDEVICE for better performance 2018-09-30 07:29:51 +02:00
FunkyFr3sh
abb88f456d direct3d auto renderer tweaks 2018-09-30 03:06:45 +02:00
FunkyFr3sh
1d43b112c9 switch to gdi on failure 2018-09-30 01:02:48 +02:00
FunkyFr3sh
6981b51973 bump version 2018-09-29 05:33:35 +02:00
FunkyFr3sh
66438e5a2e update ddraw.ini 2018-09-29 05:33:14 +02:00
FunkyFr3sh
482768e0ad viewport tweaks again 2018-09-29 05:19:41 +02:00
FunkyFr3sh
dc940a8ea3 some more viewport tweaks 2018-09-29 04:58:21 +02:00
FunkyFr3sh
b6bd5e41dd Fixes maintain aspect ratio / boxing (direct3d 9) 2018-09-29 04:44:28 +02:00
FunkyFr3sh
41f43ed090 direct3d 9 vsync 2018-09-28 23:10:58 +02:00
FunkyFr3sh
99ce582121 experimental Direct3D 9 renderer 2018-09-28 22:40:44 +02:00
FunkyFr3sh
2afe07189c check if surface was created on DDBLT_COLORFILL (caused a crash on ts-ddraw, might not be needed on cnc-ddraw) 2018-09-25 02:01:55 +02:00
FunkyFr3sh
4fe107c991 adjust alignment in case width is not divisible 4 - fixes resolutions such as 1366*768 2018-09-25 01:56:15 +02:00
FunkyFr3sh
5bbf63a025 fix for last commit 2018-09-18 01:16:23 +02:00
FunkyFr3sh
4211df4c29 render to texture test 2018-09-18 01:14:18 +02:00
FunkyFr3sh
9400eb7b75 preparation for more opengl test functions 2018-09-17 21:27:34 +02:00
FunkyFr3sh
4afbbbb5cb add texture test upload to ensure we don't end up with black screens on upload failure 2018-09-16 21:03:46 +02:00
FunkyFr3sh
6cb0b07621 fix for last commit 2018-09-15 16:32:36 +02:00
FunkyFr3sh
ac4f993976 separate opengl render code into multiple functions 2018-09-15 16:12:03 +02:00
FunkyFr3sh
93c240d31f save error state before we reset it on texture creation 2018-09-11 18:08:36 +02:00
FunkyFr3sh
79fe86062f add "sleep" setting for CnC1 2018-09-11 14:20:40 +02:00
FunkyFr3sh
77ac049c41 minimize on WM_AUTORENDERER (windows only) 2018-09-09 23:13:41 +02:00
FunkyFr3sh
f5698f2d0b fix gdi palette bug + refactoring 2018-08-23 00:57:31 +02:00
FunkyFr3sh
084c7b113b use 4 textures to reduce latency 2018-08-22 21:51:38 +02:00
FunkyFr3sh
f1718cfd05 fix crash on game exit (warcraft 2) 2018-08-19 01:01:12 +02:00
FunkyFr3sh
f7cdde52ee bump version for release 1.1.9.0 1.1.9.0 2018-08-18 20:28:24 +02:00
FunkyFr3sh
5cf78996a4 fix for automatic stretching - don't go higher than current resolution 2018-08-15 19:49:30 +02:00
FunkyFr3sh
7661a589bb yet another unity/gnome3 hack - Fixes random window repositioning 2018-08-14 15:43:48 +02:00
FunkyFr3sh
5188a68964 bump version 2018-08-12 13:23:00 +02:00
FunkyFr3sh
6c05064e8d Add WS_MINIMIZEBOX in fullscreen mode too (Fixes alt+tab on Ubuntu 16.04) 2018-08-12 13:12:04 +02:00
FunkyFr3sh
623ee8bd1d bump version 2018-08-09 11:58:17 +02:00
FunkyFr3sh
8b6932f6a7 fix for last commit 2018-08-09 11:39:11 +02:00
FunkyFr3sh
b9eab72850 add temporary workaround for ubuntu alt+enter bug until we got a better solution 2018-08-09 11:19:36 +02:00
FunkyFr3sh
366ce012b2 minimize first and then ChangeDisplaySettings (fixes alt+tab on ubuntu) 2018-08-09 09:33:09 +02:00
FunkyFr3sh
068c3af8e1 only lock cursor in WM_ACTIVATE in fullscreen mode - fixes cursor lock bug in ubuntu 2018-08-07 03:57:46 +02:00