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

293 Commits

Author SHA1 Message Date
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
FunkyFr3sh
eb93d12e1d first ChangeDisplaySettings and then SetWindowPos - Fixes fullscreen problems with lower resolutions in ubuntu 2018-08-07 02:44:11 +02:00
FunkyFr3sh
422fa30d4a use MoveWindow - fixes a bug where the window always showed up in the top left of the screen 2018-08-07 02:08:40 +02:00
FunkyFr3sh
d88d03b560 new IAT hooking 2018-08-06 09:33:27 +02:00
FunkyFr3sh
a2ec669793 use SetWindowPos rather than ShowWindow trick in WM_AUTORENDER (Works better on WINE) 2018-08-05 00:36:46 +02:00
FunkyFr3sh
b8ee01684f disable optimizations to prevent crashes in cncra snap 2018-08-03 04:54:00 +02:00
FunkyFr3sh
1402054259 fix function names 2018-08-03 03:37:23 +02:00
FunkyFr3sh
a4a452a7f2 fix for auto renderer warning not showing 2018-07-22 15:09:51 +02:00
FunkyFr3sh
99406d1d64 force glFinish with vsync 2018-07-16 15:35:45 +02:00
FunkyFr3sh
c5975902ee use multiple textures to reduce latency 2018-07-16 13:51:43 +02:00
FunkyFr3sh
d98cf4f6ea fix for non working vsync 2018-07-16 12:27:41 +02:00
FunkyFr3sh
9d9ced47f4 bump version 2018-07-12 01:20:36 +02:00
FunkyFr3sh
c1c3ac85ee Revert "minimize window in RestoreDisplayMode"
This reverts commit e4254f7f220c39fda17b025341df211e32f1c6b8.
1.1.8.0
2018-07-07 09:17:26 +02:00
FunkyFr3sh
e4254f7f22 minimize window in RestoreDisplayMode 2018-07-07 02:43:42 +02:00
FunkyFr3sh
30b430dbc7 use different workaround for macOS bug 2018-07-06 00:32:47 +02:00
FunkyFr3sh
75c25f515b temporary workaround for macOS bug with crossover wine 14.1 2018-07-05 23:51:27 +02:00
FunkyFr3sh
2e6a264738 call DrawText before CounterStart 2018-07-05 19:41:48 +02:00
FunkyFr3sh
42fb8577a4 only refresh the screen when the primary palette is changed 2018-07-05 19:32:33 +02:00
FunkyFr3sh
a40392e11a only update textures if necessary 2018-07-04 23:27:12 +02:00
FunkyFr3sh
4c2272a54e add support for DDBLT_COLORFILL 2018-07-03 21:05:58 +02:00
FunkyFr3sh
ff7267d044 try to use a single memcpy if possible - adds stretching support (not used in C&C games though) 2018-07-03 20:54:05 +02:00
FunkyFr3sh
897fdb5bbb allocate memory for surfaces on CreateDIBSection failure 2018-07-01 21:27:44 +02:00