Scott Percival
26fad071c0
DIRECTOR: Read palette ID as signed int for D3
2023-01-10 13:41:53 +01:00
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
7de1d320a0
DIRECTOR: Add more palette transition modes
2022-09-12 15:52:18 +02:00
Scott Percival
076423de8a
DIRECTOR: Implement color cycling
2022-09-12 15:52:18 +02:00
Scott Percival
9163b939c4
DIRECTOR: Improve Frame::readChannels() logging
2022-09-12 15:52:18 +02:00
Misty De Meo
3c43b40fd5
DIRECTOR: only print frame logs when non-0
2022-07-09 22:15:51 +02:00
Eugene Sandulenko
e42610c3bf
DIRECTOR: Added more debug output to frame loading
2022-06-28 17:28:11 +02:00
Misty De Meo
6f78d0e47e
DIRECTOR: fix palette regression
...
7f0d69367b introduced a fix for
fetching the palette. However, it misinterpreted the number as an
unsigned int instead of a signed int, leading to incorrect palettes
on certain other games.
2022-06-23 11:35:50 +02:00
Pragyansh Chaturvedi (r41k0u)
7f0d69367b
DIRECTOR: Fix Palette loading wrong Palette index
2022-06-12 15:20:49 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Scott Percival
6d32f570f5
DIRECTOR: Rework film loops to render as channels
...
The engine treats film loops as N full channels getting rendered to the
screen in the space of one. As such, it's impossible to pre-blit together
the content, as any blitter mode can be used for each of the items.
2021-11-07 12:05:29 +08:00
Eugene Sandulenko
9f0534445b
DIRECTOR: Read second sound channel info in D4 on all platforms
2021-08-17 17:13:35 +02:00
Eugene Sandulenko
84cddcf3f6
DIRECTOR: Initial support for l-zone MacII
2021-08-13 17:35:38 +02: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
Torbjörn Andersson
ba37c52047
JANITORIAL: Remove some unnecessary semicolons
2020-11-17 07:22:49 +01:00
djsrv
baacf3c1ab
DIRECTOR: Replace SeekableSubReadStreamEndian
...
Use the superclass SeekableReadStreamEndian.
2020-08-12 17:26:55 -04:00
djsrv
0ff7274993
DIRECTOR: Multiply version numbers by 100
...
To accomodate minor version.
2020-08-10 15:00:55 -04:00
Nathanael Gentry
4496f009ab
DIRECTOR: Improve D3 Mac palette channel loading
2020-08-04 00:28:00 -04:00
Nathanael Gentry
97cbcaa4fe
DIRECTOR: Read D3 palettes for Windows platform
2020-08-04 00:28:00 -04:00
Nathanael Gentry
580f8b7fd0
DIRECTOR: Read D3 palette channel info
2020-08-03 11:01:49 -04:00
Eugene Sandulenko
fee81400a0
DIRECTOR: Fix Frame copy constructor
2020-07-27 12:20:03 +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
Eugene Sandulenko
181b298dad
DIRECTOR: Catch unknown field in readChannels()
2020-07-21 23:35:45 +02: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
Nathanael Gentry
b86deff328
DIRECTOR: Allow D4 to have QD shapes too
2020-07-07 14:26:02 -04:00
Nathanael Gentry
5ab3544c5c
DIRECTOR: Improve sprite/cast type integration
...
Now, rather than having a _castType in the sprite, I fixed the issue that might
have made this necessary in the first place -- overloading _castId with the
shape pattern whenever the sprite is a QuickDraw shape. There is now a separate
test function for QuickDraw shapes.
2020-07-06 11:37:35 -04:00
Eugene Sandulenko
1aa1fe2802
DIRECTOR: Furhter decrease of 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
75210d8186
DIRECTOR: Render sprites from channel structs
...
Among other rendering issues, this fixes the annoying jittery sprites issue when
a sprite is simultaneously animated and moveable.
2020-06-17 09:07:35 -04:00
Eugene Sandulenko
09ad067fa5
DIRECTOR: Coordinates are in fact signed. Check for sanity.
...
Original parses negative widths and just skips such sprites.
Do the same.
2020-06-01 18:52:43 +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
Scott Percival
6bdfc4cfbd
DIRECTOR: Replace ad-hoc cast lookups with _vm->getCastMember
2020-05-14 18:09:32 +08:00
Eugene Sandulenko
17b8cb4252
JANITORIAL: Fix code formatting
2020-05-07 20:44:12 +02:00
Roland van Laar
979bf50cf1
DIRECTOR: return early where textCast is null
...
Fixes a segfault for the rectangle not being valid and
resolves multiple test crashes in the buildbot.
2020-05-07 20:42:25 +02:00
Scott Percival
ac90807d4f
DIRECTOR: Remove Mac platform conditional in frame loader
2020-05-06 18:35:51 +08:00
Scott Percival
91d1bf0ce3
DIRECTOR: Remove duplicate type field in Sprite
2020-05-05 23:06:37 +08:00
Eugene Sandulenko
0c0ea1c778
DIRECTOR: Field text is always black in Director
2020-05-02 21:11:06 +02:00
Eugene Sandulenko
b91325b8a4
DIRECTOR: Specify maxWidth for editable text
2020-04-29 20:55:38 +02:00
Eugene Sandulenko
50dba256ce
DIRECTOR: More debug output
2020-04-25 01:45:03 +02:00
Eugene Sandulenko
22ec4b60ae
DIRECTOR: Start to draw editable text widgets
2020-04-25 00:47:24 +02:00
Eugene Sandulenko
128de34ba0
DIRECTOR: Use mask-based blitting.
...
Only Copy ink is implemented so far
2020-04-24 00:57:05 +02:00