Commit Graph
222 Commits
Author SHA1 Message Date
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
Eugene Sandulenko bc65ee4f37 DIRECTOR: Create mask surface for sprites 2020-04-23 22:06:20 +02:00
Eugene Sandulenko 37f2275f62 GRAPHICS: MACGUI: Draw over optional mask in macDrawPixel() 2020-04-23 22:06:20 +02:00
Eugene Sandulenko bf1fecaa8e DIRECTOR: Use bg sprite color for drawBackgndTransSprite() 2020-04-22 01:45:40 +02:00
Eugene Sandulenko 9ee9bc48be DIRECTOR: Matte sprites always use normal white color 2020-04-22 01:45:07 +02:00
Nathanael Gentry d0c4fd90ad DIRECTOR: Give sprites a currentPoint
Rather than just a startPoint.
2020-04-16 00:21:05 +02:00
Eugene Sandulenko 2920a76611 DIRECTOR: Further work on editable text rendering 2020-04-14 00:43:13 +02:00
Eugene Sandulenko 1308feadb9 DIRECTOR: Moved MacWidget from Sprite to Cast to avoid duplication 2020-04-13 14:50:42 +02:00
Eugene Sandulenko f0fb9652a8 DIRECTOR: Refactored Frame::renderBitmap() for consistency 2020-04-12 23:21:44 +02:00
Eugene Sandulenko d526f340fb DIRECTOR: Initial plug in for MacEditableText 2020-04-12 01:46:02 +02:00
Eugene Sandulenko a2d7f975a1 DIRECTOR: Introduced editable flag to sprites 2020-04-12 01:46:02 +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 cbb63792a2 DIRECTOR: Implement Reverse Ink 2020-04-10 01:49:32 +02:00
Eugene Sandulenko 6a025a659b DIRECTOR: Disable color reversing for the time being
It leads to major gfx artifacts in Warlock. We need to check
with the original how it reverses the colors
2020-04-08 01:33:07 +02:00
stevenhoefel 27ec158e04 DIRECTOR: Correct MouseDown Event Handler and fix switch statements missing breaks. 2020-04-06 23:42:15 +10:00
stevenhoefel c08f7c426b DIRECTOR: Init and Render D3 Buttons, Checkboxes and Radio Toggles. 2020-04-05 22:08:02 +10:00
Eugene Sandulenko 56d7a1df17 Revert "DIRECTOR: Use reserve() instead of resize() for Arrays"
This reverts commit a1cf5bf0ee.
2020-04-04 01:38:28 +02:00
Eugene Sandulenko 9ea0b3198e DIRECTOR: Fix potential null pointer dereferences 2020-04-03 23:33:27 +02:00
Eugene Sandulenko a1cf5bf0ee DIRECTOR: Use reserve() instead of resize() for Arrays 2020-04-03 23:33:26 +02:00