58 Commits

Author SHA1 Message Date
Scott Percival
1524ee3615 DIRECTOR: Fix coloring of 1-bit bitmaps
If a channel contains a 1-bit bitmap cast member, use the foreground
color instead of black when rendering in Background Transparent mode.

Fixes various text bitmaps in Total Distortion and iD4 Mission Disk 1.
2022-11-18 16:28:05 +01:00
Scott Percival
2a261d0fba DIRECTOR: Allow for tempo changes when seeking to arbitrary frames
In Director, FPS entries in the tempo channel apply to all subsequent
frames. If we seek to an arbitrary frame, the correct tempo settings
should be applied.

Fixes the animation speeds of the cauldron and the walking teapot in
Chop Suey.
2022-10-06 00:05:17 +02:00
Scott Percival
8d29dec888 DIRECTOR: Implement channels debugger command 2022-09-20 20:17:06 +02:00
Scott Percival
e460102c77 DIRECTOR: Simplify D3 palette-loading code
Fixes Invictus logo animation in Alice: An Interactive Museum.
2022-09-12 15:52:18 +02:00
Scott Percival
076423de8a DIRECTOR: Implement color cycling 2022-09-12 15:52:18 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
djsrv
615995fdc1 DIRECTOR: Change member refs to use CastMemberID 2021-06-30 22:32:19 -04:00
djsrv
ed8ca876e3 DIRECTOR: Use version from VWCF for loading 2021-06-07 14:48:48 -04:00
djsrv
baacf3c1ab DIRECTOR: Replace SeekableSubReadStreamEndian
Use the superclass SeekableReadStreamEndian.
2020-08-12 17:26:55 -04: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
Nathanael Gentry
4496f009ab DIRECTOR: Improve D3 Mac palette channel loading 2020-08-04 00:28:00 -04:00
Eugene Sandulenko
f71ec7aed2 DIRECTOR: Init PaletteInfo 2020-07-27 12:14:19 +02:00
Nathanael Gentry
1e38497d8a DIRECTOR: Properly read frame palette id 2020-07-26 23:46:06 -04:00
Nathanael Gentry
740cf9f9bf DIRECTOR: Reorganize frame palette loading 2020-07-26 17:45:40 -04:00
djsrv
fbf42314bb DIRECTOR: Add pointers to frame, sprite parents 2020-07-24 11:03:35 -04:00
Roland van Laar
5285e7d29c DIRECTOR: make _actionId a uint16, it can be > 255
_actionId was also read twice, the last one was the correct one.
Redefine the first _actionId as an unk.
2020-07-21 22:48:27 +02:00
Eugene Sandulenko
2d66bb22c6 DIRECTORL Reduce header dependency 2020-07-01 17:49:48 +02:00
djsrv
3303ab985e DIRECTOR: Rename cast.cpp -> castmember.cpp 2020-07-01 10:50:31 -04:00
Nathanael Gentry
57b69cf2c0 DIRECTOR: Move transitions to the score 2020-06-01 21:36:09 +02:00
Nathanael Gentry
5babbb30db DIRECTOR: Move to channel-based rendering 2020-05-17 23:21:33 +02:00
Nathanael Gentry
9fc6197c32 DIRECTOR: Precompute cast types of sprite 2020-05-17 23:21:33 +02:00
Nathanael Gentry
3fa90b4ade DIRECTOR: Move from drawRects to bboxes 2020-05-17 23:21:33 +02:00
Scott Percival
f8c5893f28 DIRECTOR: LINGO: Fix updateStage to only re-render sprites 2020-05-16 14:52:06 +08:00
Eugene Sandulenko
128de34ba0 DIRECTOR: Use mask-based blitting.
Only Copy ink is implemented so far
2020-04-24 00:57:05 +02:00
Eugene Sandulenko
bf1fecaa8e DIRECTOR: Use bg sprite color for drawBackgndTransSprite() 2020-04-22 01:45:40 +02:00
Eugene Sandulenko
f0fb9652a8 DIRECTOR: Refactored Frame::renderBitmap() for consistency 2020-04-12 23:21:44 +02:00
stevenhoefel
40501547f4 DIRECTOR: Extend Reverse Sprite drawing for shapes and controls.
Translate 32-bit images into palette-based sprites.
2020-04-10 22:38:12 +10:00
Eugene Sandulenko
5272b6ef3e DIRECTOR: Normalize transition duration during load 2020-03-25 02:01:44 +01:00
Eugene Sandulenko
bfce506fa9 DIRECTOR: Normalize score reading for D4 2020-03-25 02:01:44 +01:00
Eugene Sandulenko
cd8446ad45 DIRECTOR: Made number of channels dynamic 2020-02-08 13:10:11 +01:00
Eugene Sandulenko
54709929c6 DIRECTOR: Moved TransitionType to types.h 2020-01-06 09:25:29 +01:00
Scott Percival
b32d0f2ad9 DIRECTOR: Render shapes with transparency 2020-01-04 22:49:14 +08:00
Eugene Sandulenko
cf7b86ceb9 DIRECTOR: Furhter work on header dependency decrease 2019-12-24 00:19:27 +01:00
Eugene Sandulenko
121e42b88d DIRECTOR: More work on reducing header dependency 2019-12-24 00:19:27 +01:00
Eugene Sandulenko
b21b29a2f6 DIRECTOR: Further simplification of include dependencies 2019-12-24 00:19:27 +01:00
Eugene Sandulenko
080c2b8410 DIRECTOR: Do precomputations for 'zoomBox' built-in 2019-12-10 00:32:54 +01:00
Tobia Tesan
9735fb06ca DIRECTOR: Move #define CHANNEL_COUNT to director.h 2017-07-05 08:35:33 +02:00
Eugene Sandulenko
98f0006ad9 DIRECTOR: Reduce header dependency 2017-05-02 22:06:39 +02:00
Eugene Sandulenko
c750d17b0c DIRECTOR: Fix #include paths 2017-05-02 22:04:21 +02:00
Tobia Tesan
8b9e029c1e DIRECTOR: Remove now-useless textId parameter from renderButton 2017-05-02 21:01:23 +01:00
Tobia Tesan
61cd407405 DIRECTOR: Use text from textCasts 2017-05-02 21:01:23 +01:00
Tobia Tesan
e69855acef DIRECTOR: Use preloaded Stxt for rendering 2017-05-02 21:01:23 +01:00
Tobia Tesan
23b6dbbede DIRECTOR: clean up renderText: separate reading & actual rendering 2017-04-30 09:48:08 +02:00
Eugene Sandulenko
6ce4f58f89 DIRECTOR: Execute immediate scripts on frame load 2017-03-14 09:26:20 +01:00
Eugene Sandulenko
f802d26fa8 DIRECTOR: Lingo: Fix b_rollOver() implementation 2017-03-12 19:17:32 +01:00
Eugene Sandulenko
415bd56444 DIRECTOR: Janitorial: Fix code formatting 2017-03-02 23:12:42 +01:00
stevenhoefel
6bf2ddde13 DIRECTOR: Use Text rect for buttons. Adjust sizing appropriately. 2017-02-06 14:45:13 +11:00
stevenhoefel
d391932ac4 DIRECTOR: Refactor Text Rendering. Use alignment of MacText. Render to temporary surface to allow ink blitting. 2017-01-17 22:16:27 +11:00
stevenhoefel
2e48529fa1 DIRECTOR: Utilise MacText class to provide Text Wrapping. 2017-01-15 18:42:50 +11:00
stevenhoefel
6e04b361b2 DIRECTOR: Implement Shape Patterns and Borders for D3. 2017-01-13 12:17:36 +11:00