311 Commits

Author SHA1 Message Date
Le Philousophe
17e1bd01ef TESTBED: Migrate engine to Path 2023-12-24 13:19:25 +01:00
sluicebox
fa82075d8d TESTBED: Fix memory leak on error. PVS-Studio V773 2023-10-30 11:28:14 -07:00
Cameron Cawley
b6947c78eb TESTBED: Add a test case for alpha cursors 2023-10-29 02:02:11 +02:00
Le Philousophe
0043d344a9 BACKENDS: Avoid passing arguments by value in cloud and networking
Use references everywhere it's possible.
Use override keyword to raise errors when there are discrepancies.
2023-10-29 01:51:38 +02:00
elasota
6f005a75a4 TESTBED: Add tests for image album 2023-08-07 10:22:09 +02:00
elasota
22a21e99cc TESTBED: Add tests for double-click time. 2023-05-14 22:42:59 +02:00
Cameron Cawley
a5603ac1f4 TESTBED: Pick the best pixel format in the video player 2023-04-05 12:45:13 +02:00
Thierry Crozat
4829e708be TESTBED: Simplify GUI dialog code 2023-03-25 11:27:02 +01:00
Thierry Crozat
87e0116630 TESTBED: Fix interactive dialog size on HiDPI displays 2023-03-25 11:27:02 +01:00
Eugene Sandulenko
e01642d867
TESTBED: Probe MOD files before attempt to play 2023-03-25 01:55:24 +01:00
Harishankar Kumar
356957694f TESTBED: Support for impulse tracker in module playback testing 2023-03-24 23:59:53 +01:00
Thierry Crozat
a1d674d6ba TESTBED: Update shaking test to also test negative offsets 2023-03-06 20:09:45 +00:00
Eugene Sandulenko
cd289b74a9
TESTBED: Remove unused variable 2023-03-06 14:34:53 +01:00
ChengZhang Dong
f19ed73519
TESTBED: Switch to CheckboxWidgets for Testbed (#4769)
The Testbed used ListWidget and double-clickable text to select options, which is illogical and unfriendly for users. Now they are replaced with ScrollContainerWidget and CheckboxWidget.
2023-03-06 14:33:20 +01:00
Eugene Sandulenko
c2d6c84e65
TESTBED: Added test for fonts scaling 2023-02-25 15:29:30 +01:00
Eugene Sandulenko
8d6d0e48f2
JANITORIAL: Fix comment 2023-02-23 18:28:48 +01:00
Cameron Cawley
0e71404535 TESTBED: Add a test suite for the video player 2023-02-23 18:27:59 +01:00
elasota
325674ace7 GRAPHICS: Add masked cursor support to SurfaceSdl, fix tests 2023-02-19 23:51:09 +01:00
elasota
76d84718e2 GRAPHICS: Corrected semantics for MacOS cursors 2023-02-19 23:51:09 +01:00
elasota
866e459992 TESTBED: Add tests for masked and inverted cursors. 2023-02-19 23:51:09 +01:00
Eugene Sandulenko
00b19320fc
TESTBED: Properly set palette for the video playback 2023-02-18 20:59:17 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Eugene Sandulenko
8f8d522913
COMMON: Move achievements.* to engines/ 2022-12-02 00:12:22 +01:00
Donovan Watteau
5a62dc4c37 TESTBED: Use MSVC_PRINTF when GCC_PRINTF is used 2022-11-29 01:37:16 +01:00
Roland van Laar
12fea682de TESTBED: fix leak: clear up surface inside conv
frame->convertTo creates a new surface. Free it after use and delete the
pointer to it.t
2022-09-28 23:27:02 +02:00
Roland van Laar
2194986f1b TESTBED: fix decoding second frame
A segfault happened on decoding the second frame because
frame was deleted when it is expected to exist.
2022-09-28 23:17:54 +02:00
Eugene Sandulenko
8f3834e3a4
TESTBED: Dither videos 2022-09-28 22:38:08 +02:00
Roland van Laar
a149939144 TESTBED: Prepare video for QTVR tests 2022-09-28 16:14:36 +02:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Christian Kündig
e070781618 TESTBED: Don't write to disk if WriteStream can't be created (e.g. read-only filesystem or permission issue) 2022-06-12 14:34:13 +02:00
Orgad Shaneh
b2322a8c4f JANITORIAL: Add some long casts to match %ld format
Needed on Win64 compilation.
2022-06-12 10:24:34 +02:00
Eugene Sandulenko
829c600a02
GUI: Remove remains of the old color lists in *ListWidget 2022-05-29 00:39:35 +02:00
athrxx
ee336d348b TTS: (Testbed) - implement tts enable option 2022-04-26 21:08:41 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
4e7723f77d
TESTBED: Added test for MOD playback. Added XM and IT files from SLUDGE's "Out Of Order" 2021-11-11 12:26:08 +01:00
Orgad Shaneh
3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Orgad Shaneh
1c5c366649 GUI: Swap OK/Alt values in MessageDialog
A follow-up commit adds support for multiple alternatives, so OK has to
come first.
2021-08-18 22:34:02 +02:00
Le Philousophe
f94c56f100 TESTBED: Don't fail when pixel format couldn't be set
When pixel format isn't supported an assertion can be raised during
blitting. Don't draw anything instead.
2021-07-05 23:19:51 +03:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
lb_ii
53721953a2 TESTBED: Remove data string from AchivementsInfo 2021-06-10 01:56:23 +03:00
lb_ii
7926fba77a TESTBED: Add sample test run statistics 2021-06-01 02:20:53 +03:00
lb_ii
dda0cbec5f TESTBED: Use simple achievements API 2021-05-28 21:07:08 +03:00
ysj1173886760
32f66c21dd TESTBED: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
lolbot-iichan
728e41e347
TESTBED: Fix STATIC_ASSERT expression compilation on gp2x-1 (#3021) 2021-05-21 03:29:41 +03:00
lolbot-iichan
fb7ef86cf3
TESTBED: Modify Pixel Format tests to display brightness and alpha gradients (#3019)
* TESTBED: Sort Pixel Formats before displaying them

* TESTBED: Display color gradients while testing Pixel Formats

* TESTBED: Display example patterns with CLUT8 pixel formats
2021-05-20 23:25:09 +03:00
Eugene Sandulenko
faefa38c66
TESTBED: Fix GUI for HiDPI 2021-05-14 20:01:09 +02:00
lolbot-iichan
2367dd8f98
TESTBED: Add another PixelFormat test (#3009)
* TESTBED: Add another PixelFormat test

I have noticed that Wintermute and FullPipe games are not working on PSP
port (and it looks like they never worked). This was caused by missing
ABGR8888@4 support on the backend, while some engines explicitly
requested this Pixel Format.

I have decided to add a test so that all the backends could be easily
checked for similar issues.

Surprisingly, "backends/graphics/null/null-graphics.h" holds up-to-date,
full and correct list of pixel formats requested by different engines.
There are lots of different Pixel Formats mentioned in different engines
code, but NullGraphicsManager lists all that are explicitly needed for
intGraphics(), not data reading, etc...

* TESTBED: Avoid using NullGraphicsManager at PixelFormat test

Avoid using NullGraphicsManager at PixelFormat test + other minor tweaks
2021-05-14 12:31:57 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley
78015cbd04 TESTBED: Centre the rectangle on screen in the overlay test
This fixes an assert in the DS port due to the rectangle being drawn out of bounds.
2021-02-04 01:59:14 +01:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00