1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-23 08:52:25 +01:00

46 Commits

Author SHA1 Message Date
FunkyFr3sh
b4da3fc3c4 check if stretch or clip is needed 2018-11-17 06:55:24 +01:00
FunkyFr3sh
ab5542fd9d some more changes to scaling code 2018-11-17 06:23:56 +01:00
FunkyFr3sh
1ac3402cfa some fixes for last commig 2018-11-17 06:09:13 +01:00
FunkyFr3sh
e4437a278f Linear scaling using integer math (copied from ts-ddraw) 2018-11-17 05:54:22 +01:00
FunkyFr3sh
ee6266519a remove src_w and src_h from bltfast 2018-11-17 04:46:36 +01:00
FunkyFr3sh
f39d1d0385 do some more colorfill tweaks 2018-11-17 04:25:18 +01:00
FunkyFr3sh
d00b95f8b0 improve DDBLT_COLORFILL performance - fill only the first row and then copy first row into the remaining rows 2018-11-17 03:48:41 +01:00
FunkyFr3sh
b04dc01104 make opengl compatible with older versions than 2.0 (for 16bit games only) 2018-11-15 06:16:09 +01:00
FunkyFr3sh
806746d364 experimental 16bit color support (Dune 2000) 2018-11-14 05:35:59 +01:00
FunkyFr3sh
bdb5675459 make maxgameticks working via surface unlock for atomic bomberman 2018-11-09 20:39:45 +01:00
FunkyFr3sh
b4e196ca79 fix gdi flip bug 2018-10-31 15:49:18 +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
2d4841beda handle ddraw_surface_QueryInterface 2018-10-31 00:33:21 +01:00
FunkyFr3sh
737a26bfb3 add Dungeon Keeper preset + required hack 2018-10-30 21:48:01 +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
478d716a26 init rgb palette on surface::SetPalette 2018-10-30 15:54:52 +01:00
FunkyFr3sh
8ae70e454f fix DDSCAPS_PRIMARYSURFACE check in surface->release 2018-10-30 14:05:43 +01:00
FunkyFr3sh
49c4fe826d fix debug define 2018-10-30 12:43:44 +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
8f394009b1 add AoE2 workaround 2018-10-29 07:01:32 +01:00
FunkyFr3sh
7f0eef570b add partial support for DDBLT_KEYSRC 2018-10-27 09:23:00 +02:00
FunkyFr3sh
8e53cdc5fa fix palette issues on GetDC 2018-10-27 07:43:47 +02:00
FunkyFr3sh
202e4eb869 improve logging 2018-10-26 10:34:45 +02:00
FunkyFr3sh
88faf16fd9 bump version 2018-10-26 08:46:12 +02:00
FunkyFr3sh
2d1ab88f85 partial support for DDBLTFAST_SRCCOLORKEY 2018-10-26 08:33:09 +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
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
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
79fe86062f add "sleep" setting for CnC1 2018-09-11 14:20:40 +02:00
FunkyFr3sh
f5698f2d0b fix gdi palette bug + refactoring 2018-08-23 00:57:31 +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
FunkyFr3sh
7108f2af7a on screen debug 2018-06-26 14:06:02 +02:00
FunkyFr3sh
fa54189259 show opengl unavailable warning 2018-06-22 04:27:34 +02:00
FunkyFr3sh
d1fb484e80 prevent GPU from blocking main thread 2018-05-10 14:45:39 +02:00
FunkyFr3sh
5a2748f3d1 add visual studio project files 2018-05-06 10:52:06 +02:00
FunkyFr3sh
e60db3ccb5 adjust names 2017-11-26 09:09:38 +01:00
FunkyFr3sh
c526cf63de log fps 2017-11-26 08:49:30 +01:00
FunkyFr3sh
d0cf60b618 temporarily revert rendering changes - need to find a better solution later 2017-11-17 23:08:13 +01:00
FunkyFr3sh
153bfda117 compile resources again + cleanup 2017-11-16 19:19:17 +01:00