Commit Graph
25 Commits
Author SHA1 Message Date
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
sluicebox 2775987cba MACGUI: Expose font families in MacFontManager
MacFontManager didn't have a mechanism to report which fonts it loaded
from an external resource. It also requires that any fonts that aren't
built-in be explicitly registered by name by the client before they can
be used. This combination meant that a client couldn't load fonts from
an external file and use them by their properties (id / size / style).

SCI contains Mac fonts in its executable along with a table that maps
each SCI font id to a Mac font id and size. The font name isn't a part
of this since the Classic Mac Toolbox API took id / size / style as
input when drawing text.

Now MacFontManager exposes the font families it has loaded along with
their names. This allows a client to see which fonts were loaded,
register them by name, and proceed to use them with the existing API.
2022-11-06 23:05:20 -08:00
Eugene Sandulenko 7eb121f708 DIRECTOR: Made graphics test more robust 2022-11-03 20:37:02 +01:00
Eugene Sandulenko caa681f179 DIRECTOR: Switch test dithering to common code 2022-11-03 20:37:02 +01:00
Eugene Sandulenko a717dd278a DIRECTOR: Temporarily disable picture test 2022-07-10 11:54:40 +02:00
Pragyansh Chaturvedi 686e720275 DIRECTOR: Implement Movie::createOrReplaceCastMember() and Cast::setCastMember() functions, add blend2.pic to tests 2022-07-03 19:24:04 +02:00
Pragyansh Chaturvedi 7775518224 DIRECTOR: Instantiate new CastMember for importFileInto builtin 2022-07-03 19:24:04 +02:00
Pragyansh Chaturvedi b9cd319a13 DIRECTOR: Add PICT to tests, test importFileInto 2022-07-03 19:24:04 +02:00
Eugene Sandulenko b7735a6326 DIRECTOR: Encapsulated tile access and implement override by VWTL 2022-06-15 01:01:05 +02:00
Eugene Sandulenko 43b1306bcd DIRECTOR: Simplify builtin tiles decompressing 2022-06-14 01:03:02 +02:00
Eugene Sandulenko aa34532742 DIRECTOR: Added built-in tile drawing to tests 2022-06-13 18:12:22 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
djsrv 0592520ddf DIRECTOR: Test multiple possible paths for shared cast 2021-07-16 16:22:06 -04:00
Eugene Sandulenko 5ea23f666f DIRECTOR: Make rendering tests work in 32bpp 2020-08-15 14:50:26 +02:00
djsrv 9c537a8744 DIRECTOR: Rename Stage to more general Window
The stage and windows are the same type of thing, but the stage only
refers to one particular window.
2020-08-04 23:54:09 -04:00
djsrv 990b3451d4 DIRECTOR: Disable outdated lingo in test movie 2020-07-16 17:21:08 -04:00
djsrv 07bc3e58e8 DIRECTOR: Remove vm arg from constructors
Pass the object's direct parent instead, and get things like the stage
from that instead of from the _vm when possible.
2020-07-03 15:55:14 -04:00
djsrv 2c41b3f291 DIRECTOR: Give Stage ownership of movies 2020-07-03 15:55:14 -04:00
Eugene Sandulenko dd58587960 DIRECTOR: Fix director test execution 2020-07-01 19:11:18 +02:00
Eugene Sandulenko 5186f7194b DIRECTOR: Reduce header dependency 2020-07-01 17:49:48 +02:00
djsrv 5ae6c34074 DIRECTOR: Separate Movie and Cast from Score 2020-07-01 10:50:31 -04:00
Eugene Sandulenko 88a057d2ef DIRECTOR: Added sanity check to tests 2020-06-15 12:15:50 +02:00
djsrv d76e876e7a DIRECTOR: LINGO: Load shared cast with loadArchive 2020-06-11 12:02:47 -04:00
Eugene Sandulenko 787f3e4e61 DIRECTOR: Added test score for the test target 2020-06-04 00:07:34 +02:00
Eugene Sandulenko 38a5b8e9ef DIRECTOR: Moved all director test-related code to tests.cpp 2020-06-04 00:07:34 +02:00