Commit graph

196 commits

Author SHA1 Message Date
FunkyFr3sh
36a87419e3 don't allocate ddraw struct 2024-03-22 22:27:00 +01:00
FunkyFr3sh
7002639452 #273 use 64bit aligned pitch 2024-01-09 20:44:04 +01:00
FunkyFr3sh
dc3be1243a #269 add workaround for Quest for Glory 5 movies 2023-12-12 00:39:25 +01:00
FunkyFr3sh
91796c71c1 set lpSurface on failure 2023-11-19 02:25:16 +01:00
FunkyFr3sh
e9b585f440 move is_wine bool to g_config 2023-11-04 03:20:30 +01:00
FunkyFr3sh
589b422d93 fix some warnings 2023-10-22 11:46:13 +02:00
FunkyFr3sh
43aa290d1e add temporary workaround to fix issues in claw custom levels 2023-10-06 02:11:45 +02:00
FunkyFr3sh
7e9be97099 #249 fix improper colorspace handling 2023-10-05 21:14:22 +02:00
FunkyFr3sh
c17db0349a #247 fix color key issues in Kohan: Immortal Sovereigns 2023-10-04 19:51:53 +02:00
FunkyFr3sh
fa8cdbd0df move all ini settings to c_config 2023-09-22 00:38:42 +02:00
FunkyFr3sh
20fa6df6b5 align 2023-09-13 19:08:31 +02:00
FunkyFr3sh
c73d1c43f7 Revert "force "adjmouse = TRUE" when downscaling was detected"
This reverts commit f468788a9d.
2023-09-13 19:04:44 +02:00
FunkyFr3sh
f468788a9d force "adjmouse = TRUE" when downscaling was detected 2023-09-13 19:04:01 +02:00
FunkyFr3sh
340febc65e fix flags 2023-09-10 02:31:28 +02:00
FunkyFr3sh
d2c4fc47d9 create dc for DDSCAPS_OFFSCREENPLAIN backbuffers as well 2023-08-22 11:24:18 +02:00
FunkyFr3sh
f349c4a9eb always create dc for backbuffers 2023-08-21 22:32:56 +02:00
FunkyFr3sh
d95c29d8b6 Revert "Revert "#225 don't increase ref count in EnumAttachedSurfaces""
This reverts commit 37f55db308.
2023-08-20 01:40:27 +02:00
FunkyFr3sh
37f55db308 Revert "#225 don't increase ref count in EnumAttachedSurfaces"
This reverts commit a33169eb63.
2023-08-20 00:36:35 +02:00
FunkyFr3sh
594cc4d8da add DebugLogMini build config 2023-08-10 14:41:42 +02:00
FunkyFr3sh
1d6ac452a9 add workaround for CnCGraphicsPatcher 2023-08-05 19:03:34 +02:00
FunkyFr3sh
396ccf9da7 fix for last commit 2023-08-01 06:23:37 +02:00
FunkyFr3sh
4312e1368f allow custom ticks values on flip 2023-08-01 06:16:58 +02:00
FunkyFr3sh
63257823b1 remove dont_emulate_dc setting 2023-07-31 09:17:57 +02:00
FunkyFr3sh
428acf24ba #189 fix freeze on loading screen 2023-07-29 06:19:30 +02:00
FunkyFr3sh
5a928caa70 improve logs 2023-07-29 05:54:10 +02:00
FunkyFr3sh
dd214b35d9 add DDSD_CAPS 2023-07-29 03:42:08 +02:00
FunkyFr3sh
0ac8709a50 remove DDSD_ALL 2023-07-27 08:16:09 +02:00
FunkyFr3sh
a9418fc02a remove old setting 2023-07-27 07:48:23 +02:00
FunkyFr3sh
f0586cb4cf set DDSD_CAPS | DDSD_ALL 2023-07-27 07:25:26 +02:00
FunkyFr3sh
152c3aa361 fix surface caps/flags 2023-07-27 06:59:09 +02:00
FunkyFr3sh
6840d2ea58 #225 add some notes 2023-07-18 03:10:51 +02:00
FunkyFr3sh
a33169eb63 #225 don't increase ref count in EnumAttachedSurfaces 2023-07-16 00:48:19 +02:00
FunkyFr3sh
1aca711562 don't use PeekMessageA hack on wine 2023-07-09 06:25:37 +02:00
FunkyFr3sh
9cf4881aa2 use real_ function 2023-06-03 00:56:18 +02:00
FunkyFr3sh
c7358ea488 add size limit for surfaces 2023-03-07 21:29:19 +01:00
FunkyFr3sh
e61e0d2321 #209 support clipper from hwnd for New Robinson 2023-03-06 01:40:47 +01:00
andrews05
8cd776abf7 OpenGL rgb555 support 2023-02-16 22:46:34 -08:00
FunkyFr3sh
56488f9dac Revert "always enable fixnotresponding patch"
This reverts commit a80ffeb7aa.
2023-01-17 04:46:24 +01:00
FunkyFr3sh
56299662aa add new option to limit game ticks via bltfast 2022-10-31 02:54:40 +01:00
FunkyFr3sh
a80ffeb7aa always enable fixnotresponding patch 2022-10-22 02:52:58 +02:00
FunkyFr3sh
876160cbb6 rename some vars 2022-10-19 03:20:31 +02:00
FunkyFr3sh
fe82a8a607 #178 fix blt/bltfast clipping 2022-10-15 05:04:19 +02:00
FunkyFr3sh
befbb19a2e add a few NULL checks 2022-10-09 13:11:29 +02:00
FunkyFr3sh
686b2c738b don't allow to create overlay surface 2022-10-07 08:13:07 +02:00
FunkyFr3sh
c9262a5ee9 hook stretchblt 2022-10-02 18:41:06 +02:00
FunkyFr3sh
a3469be07a improve debug logs 2022-09-30 14:16:30 +02:00
FunkyFr3sh
5c0dc2753d remove bool and make guard lines adjustable 2022-09-29 21:52:07 +02:00
FunkyFr3sh
94ae5cf31f update bltfast clipping 2022-09-29 21:34:55 +02:00
FunkyFr3sh
eabad7582d fix clip+stretch blts 2022-09-29 21:27:05 +02:00
FunkyFr3sh
4326703c71 disable clipper functions (needs more testing) 2022-09-29 20:41:14 +02:00
FunkyFr3sh
1bd19be3b8 improve debug dds debug logs 2022-09-29 18:06:51 +02:00
FunkyFr3sh
3562c2bd7a add some more error checking 2022-09-29 17:49:20 +02:00
FunkyFr3sh
31a3118de6 enable clipper in dds_Blt 2022-09-29 17:21:23 +02:00
FunkyFr3sh
c7f971c0be add some more debug logging 2022-09-29 13:44:25 +02:00
FunkyFr3sh
606a7460ee fix blitter clipping 2022-09-29 12:55:16 +02:00
FunkyFr3sh
86996a15be #177 add support for transparent color conversion blt 2022-09-29 00:19:48 +02:00
FunkyFr3sh
11f1422acf #177 add preset for Fairy Tale About Father Frost, Ivan and Nastya 2022-09-28 04:19:09 +02:00
FunkyFr3sh
5b00653cc5 Revert "#177 fix text drawing"
This reverts commit 8ea545ec96.
2022-09-28 03:55:49 +02:00
FunkyFr3sh
8ea545ec96 #177 fix text drawing 2022-09-28 03:20:29 +02:00
FunkyFr3sh
7683e52f21 align 2022-09-28 02:25:50 +02:00
FunkyFr3sh
7f7f90182f add some testing code to blitter functions 2022-09-28 01:59:12 +02:00
FunkyFr3sh
c8d7719d04 move clipper test code up 2022-09-28 00:52:32 +02:00
FunkyFr3sh
228063839a #177 fix for blitter with negative coords 2022-09-27 22:45:13 +02:00
FunkyFr3sh
e012b5c01a align 2022-09-27 15:31:03 +02:00
FunkyFr3sh
11801618df add (commented out) clipper support to dds_blt 2022-09-27 15:28:57 +02:00
FunkyFr3sh
bd697e7b7a fix function name 2022-09-21 16:37:13 +02:00
FunkyFr3sh
d18df5faf1 #172 Add support for SetSurfaceDesc (Nancy Drew: Stay Tuned For Danger) 2022-09-21 16:07:32 +02:00
FunkyFr3sh
6372dc6884 add AVX memset 2022-09-20 02:27:01 +02:00
FunkyFr3sh
a1b58749a2 make guard lines easier to adjust 2022-09-18 10:41:27 +02:00
FunkyFr3sh
cbae2db055 fix param 2022-09-18 09:25:49 +02:00
FunkyFr3sh
8d6b2f3bfe add option to lock surfaces 2022-09-17 13:46:45 +02:00
FunkyFr3sh
18622bff3a remove TRACE 2022-09-16 16:13:06 +02:00
FunkyFr3sh
c4e8f959d4 flip file mapping 2022-09-16 12:33:08 +02:00
FunkyFr3sh
8a63e2b976 allocate memory with CreateFileMapping 2022-09-16 11:22:05 +02:00
FunkyFr3sh
5a9284a44e save and pass DDSD_BACKBUFFERCOUNT 2022-09-15 10:21:33 +02:00
FunkyFr3sh
edf69fcc2a add support for DDSD_LPSURFACE and DDSD_PITCH 2022-09-15 10:10:52 +02:00
FunkyFr3sh
f39e3fcddb fix GetAttachedSurface 2022-09-15 09:57:36 +02:00
FunkyFr3sh
0133030c6a add memset blt_clear wrapper 2022-09-15 02:12:27 +02:00
FunkyFr3sh
9a41252e73 fix size 2022-09-13 17:16:20 +02:00
FunkyFr3sh
bc40d0fc3b some cleanup in surface.c 2022-09-13 09:51:19 +02:00
FunkyFr3sh
dc0204cf71 remove fixpitch setting 2022-09-13 09:34:48 +02:00
FunkyFr3sh
b03600fb4f #101 clear backbuffer on flip 2022-09-13 07:41:01 +02:00
FunkyFr3sh
e578df74e3 make fixpitch setting working with primary surface too 2022-09-09 12:57:05 +02:00
FunkyFr3sh
1e57228500 Revert "don't use min macro"
This reverts commit 3ac47313e2.
2022-09-09 11:26:53 +02:00
FunkyFr3sh
3ac47313e2 don't use min macro 2022-09-09 11:25:15 +02:00
FunkyFr3sh
0997f514c4 separate blitters into a different file 2022-09-08 02:19:15 +02:00
FunkyFr3sh
58cb1e0a04 experimental colorkey blitter test code 2022-09-06 10:30:51 +02:00
FunkyFr3sh
73afd3707a make sure HighValue is not lower than LowValue 2022-09-06 07:28:17 +02:00
FunkyFr3sh
d190bf4c9f fix for last commit 2022-02-07 12:22:26 +01:00
FunkyFr3sh
8f34d10cdc #136 add some more checks to BltFast 2022-02-06 15:40:25 +01:00
FunkyFr3sh
b8fd6d1f81 #131 #125 add option to remove video memory flag 2021-12-17 02:41:02 +01:00
FunkyFr3sh
15438c70c4 #122 add support for mirror blt without color key 2021-09-08 22:51:44 +02:00
FunkyFr3sh
ac1829f629 #114 add temporary workaround for "not responding" windows 2021-08-18 16:25:29 +02:00
FunkyFr3sh
02719f5744 remove passthrough setting and adjust presets 2021-08-08 22:39:32 +02:00
FunkyFr3sh
6883f57ca6 use cast instead 2021-06-25 15:46:13 +02:00
FunkyFr3sh
74bfb5a725 fix color key issues 2021-06-25 15:32:09 +02:00
FunkyFr3sh
b97af7a4f9 add some additional checks 2021-06-15 03:20:41 +02:00
FunkyFr3sh
f29f712016 use older version of structs by default and cast to newer ones if needed 2021-06-14 09:57:26 +02:00
FunkyFr3sh
b7fe3d5b54 rename arg 2021-06-13 05:17:46 +02:00
FunkyFr3sh
1f11bf8b84 refactoring 2021-06-11 20:30:43 +02:00