Commit graph

81 commits

Author SHA1 Message Date
FunkyFr3sh
2c629cbe55 some Twisted Metal experiments 2020-10-06 02:33:41 +02:00
FunkyFr3sh
4283065d93 fix for min fps commit 2020-10-06 01:45:23 +02:00
FunkyFr3sh
b2ba8896b2 force 5 min. FPS 2020-10-06 01:32:38 +02:00
FunkyFr3sh
ab06a682bb add support for WaitForVerticalBlank 2020-10-04 18:07:59 +02:00
FunkyFr3sh
bbd67907c0 adjust logging 2020-07-25 05:54:09 +02:00
FunkyFr3sh
417f6a6676 #36 return DDERR_NOPALETTEATTACHED on GetPalette 2020-07-25 04:31:04 +02:00
FunkyFr3sh
da09069d7b adjust fps limiter for gdi renderer 2020-01-22 11:35:04 +01:00
FunkyFr3sh
073dac298f add workaround for game speed limiter problem with bnet 2019-08-09 10:10:37 +02:00
FunkyFr3sh
f400504dd8 clean up bnet related code 2019-08-08 03:19:15 +02:00
FunkyFr3sh
0a779ac4fe sync with master 2019-08-07 12:45:40 +02:00
FunkyFr3sh
18f2e16bb0 make bnet moveable 2019-08-06 04:37:06 +02:00
FunkyFr3sh
0b5064152d add export for warvideo 2019-04-12 14:11:56 +02:00
FunkyFr3sh
d42284c4bf optional hotpatch support 2019-03-19 06:57:49 +01:00
FunkyFr3sh
0f58746515 experimental tweaks for diablo and warcraft 2 2019-03-17 00:16:09 +01:00
FunkyFr3sh
f41b2fc177 use memset for DDBLT_COLORFILL 2018-12-10 05:55:48 +01:00
FunkyFr3sh
6b0fbce7f8 add guardlines to HeapAlloc too in case bitmap creation fails 2018-12-02 07:31:53 +01:00
FunkyFr3sh
66e37ed961 add 200 guardlines to prevent crashes 2018-12-02 06:53:11 +01:00
FunkyFr3sh
abf71c70ca fix flip limiter 2018-11-30 02:59:56 +01:00
FunkyFr3sh
435854456b use waitable timers for better precision (limit game ticks / flip wait) 2018-11-29 17:45:10 +01:00
FunkyFr3sh
093486ec7f add some memcpy tweaks, not sure if it actually helps 2018-11-29 01:39:03 +01:00
FunkyFr3sh
6d337393ee force DDSCAPS_VIDEOMEMORY for all surfaces, otherwise red alert 2 is not using ddraw blt 2018-11-28 23:11:10 +01:00
FunkyFr3sh
8c119f4e33 remove dune2000 presets and enable DDFLIP_WAIT limiter instead 2018-11-28 14:14:26 +01:00
FunkyFr3sh
14304ff330 only limit game ticks via unlock if there was never any blt or flip 2018-11-28 13:40:29 +01:00
FunkyFr3sh
8e75c40cc3 revert LimitGameTicks changes since it's causing flickering in unpatched versions of cnc1 and ra1 2018-11-28 13:28:07 +01:00
FunkyFr3sh
4ab472ab9b enable flip for dune 2000 2018-11-28 12:45:47 +01:00
FunkyFr3sh
85b6ad7201 add all resolutions to the in-game list (Tiberian Sun / Red Alert 2) 2018-11-24 23:36:38 +01:00
FunkyFr3sh
64a3d0d5e1 use higher flip timeout 2018-11-20 07:33:17 +01:00
FunkyFr3sh
c2821b7c48 add another surface width workaround 2018-11-19 15:07:43 +01:00
FunkyFr3sh
a4c30f7ad8 don't use HeapAlloc in EnumAttachedSurfaces 2018-11-19 11:13:36 +01:00
FunkyFr3sh
650496065b add hack for westwood nox 2018-11-19 09:56:27 +01:00
FunkyFr3sh
5d2d258d52 save last flip tick to force redraw in case the game switches between blt and flip 2018-11-19 08:36:18 +01:00
FunkyFr3sh
add701a7f6 add some more debugging code 2018-11-19 07:40:07 +01:00
FunkyFr3sh
c434e74216 support GetColorKey 2018-11-18 13:31:00 +01:00
FunkyFr3sh
ecef95cbb6 add ddscaps to surface desc 2018-11-18 07:06:13 +01:00
FunkyFr3sh
7ec7f853d2 fix DirectDrawSurface::QueryInterface 2018-11-17 09:06:11 +01:00
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