Commit Graph

3305 Commits

Author SHA1 Message Date
Eugene Sandulenko
0902272ab9
DIRECTOR: Fix MSVC warning 2021-07-01 01:35:58 +02:00
ysj1173886760
bd0da46c2f DIRECTOR: fix size parameter passing when we have auto expand text 2021-06-30 16:29:00 +02:00
ysj1173886760
f9014d0381 DIRECTOR: remove changing original sprites in immediateSprite and puppetSprite 2021-06-30 16:29:00 +02:00
ysj1173886760
d11835cffc DIRECTOR: implement immediateSprite. 2021-06-30 16:29:00 +02:00
ysj1173886760
bcd33eeba3 DIRECTOR: fix rendering text to suit for different style text 2021-06-30 16:29:00 +02:00
ysj1173886760
d0317fa1bb DIRECTOR: use text style to determine whether text should fix dims 2021-06-30 16:29:00 +02:00
ysj1173886760
b659c964f7 DIRECTOR: make debug output more readable 2021-06-30 16:29:00 +02:00
ysj1173886760
be199c07ab DIRECTOR: more precise definition for shouldHilite for D3 2021-06-30 16:29:00 +02:00
ysj1173886760
506ee5200a DIRECTOR: removing changing original sprites when setting cast member. 2021-06-30 16:29:00 +02:00
ysj1173886760
1d20fa758f DIRECTOR: don't hilite puppet sprites. 2021-06-30 16:29:00 +02:00
ysj1173886760
b2ea651b9d DIRECTOR: auto expand text widgets for D3/4 2021-06-30 16:29:00 +02:00
ysj1173886760
7eb039d174 DIRECTOR: fix intersect check. add 1 offset for constrain boundary 2021-06-30 16:29:00 +02:00
ysj1173886760
4a38579f44 DIRECTOR: don't regard quick draw shape as matte type 2021-06-30 16:29:00 +02:00
ysj1173886760
7c147b16fb DIRECTOR: support QDshape matte for intersect and within check 2021-06-30 16:29:00 +02:00
ysj1173886760
d46866f893 DIRECTOR: implement matte for quick draw shape 2021-06-30 16:29:00 +02:00
ysj1173886760
ced3a58b10 DIRECTOR: fix setting width and height to puppet sprites 2021-06-30 16:29:00 +02:00
ysj1173886760
ba9f97df4d DIRECTOR: fix setting color for text castmember 2021-06-30 16:29:00 +02:00
ysj1173886760
b512f33263 GRAPHICS: MACGUI: pass an event of lbutton_up to those widgets should clear widgets correctly. 2021-06-30 16:29:00 +02:00
ysj1173886760
1359be17be DIRECTOR: clear the events when we are calling MessageDialog box in b_alert. 2021-06-30 16:29:00 +02:00
ysj1173886760
dc6dd68776 DIRECTOR: change the original sprite when we are setting cast num 2021-06-30 16:29:00 +02:00
trembyle
3d1e4e57c0 JANITORIAL: Clean up Director detection entries
* Use consistent naming conventions and punctuation
* Clean up indentation and whitespace
* Fix incorrect alphabetical sorting
* Add missing md5 hash
2021-06-29 23:08:33 +02:00
trembyle
3f3c0fa159 DIRECTOR: Revise some detection entries to check two files
Increase the number of cases where two-file detection entries are used.
As more targets are added, we should not tolerate common filenames.
2021-06-29 23:08:33 +02:00
trembyle
175fcd48ce DIRECTOR: Add detection for new digital magazines
Adds 5 new gameIDs and 16 new md5 entries.

This commit includes:
* 2 English digital magazines
* 1 French digital magazine
* 1 English covermount
* 1 Finnish covermount
* 1 Russian covermount
2021-06-29 23:08:33 +02:00
trembyle
f4a0f53283 DIRECTOR: Add new Japanese detection entries
Adds 27 new gameIDs and 54 new md5 entries.

This commit includes:
* 10 new games
* 10 new demos
* 5 screen savers
* 4 desktop clocks
* 1 multimedia CD
* 2 games on new platforms
* 1 localization
* 1 unsupported demo
2021-06-29 23:08:33 +02:00
trembyle
5522a3ead9 DIRECTOR: Untranslate Japanese game descriptions
This is a remnant of adding these before UTF-8 encoding was available
for game descriptions. Some games had translated titles written in
Latin script. Many of these were fixed in PR #3049 before they had
been merged to master. This commit reverts the remainder to Japanese
script with romaji titles in comments where needed.
2021-06-29 23:08:33 +02:00
trembyle
d5a474f16e DIRECTOR: Add non-English detection entries
Adds 14 new gameIDs and 16 new md5 entries.

This commit covers products without an English language release.
Please note that this does not necessarily indicate the country of
origin. Game descriptions for various languages are added here based
on the developers' language, whether or not we posess a copy in that
language.

This commit includes:
* 2 Danish games (+1 screen saver)
* 2 French games
* 3 Italian games
* 2 Spanish multimedia CDs
* 3 Russian demos
* 1 Brazilian catalog
2021-06-29 23:08:33 +02:00
trembyle
f8f9614e49 DIRECTOR: Add Enhanced CD detection entries
Also known as ECD, CD+, CD+Extra, Blue Book standard

Adds 17 new gameIDs and 71 new md5 entries.

This commit includes:
* 10 CDs with Director content
* 1 box set (16 of 22 discs)
* 4 bonus standalone apps
* 1 screen saver
* 1 product demo
2021-06-29 23:08:33 +02:00
trembyle
62b4176ee3 DIRECTOR: Add new English multimedia detection entries
Adds 21 new gameIDs and 33 new md5 entries.

This commit includes:
* 6 new multimedia CD-ROMs
* 3 bonus features
* 3 new demos
* 6 new screen savers
* 2 electronic press kits
* 1 shareware game
2021-06-29 23:08:33 +02:00
trembyle
72475a266e DIRECTOR: Add new English game detection entries
Adds 8 new gameIDs and 15 new md5 entries.

This commit covers games with an English language release. Please note
that this does not necessarily mean an English entry has been added to
detection. Games for various languages are added here if an English
version exists, whether or not we possess a copy of the English version
2021-06-29 23:08:33 +02:00
djsrv
4b30859276 DIRECTOR: Make _modified protected
We should always use isModified() outside of the CastMember class since
it can be overridden.
2021-06-29 15:19:24 -04:00
djsrv
e07f7a7f26 DIRECTOR: Use isModified() instead of _modified
isModified() does not simply return _modified for digital video, so
using _modified instead of isModified() caused digital video to not
update.
2021-06-29 15:19:24 -04:00
djsrv
eaf98c693f DIRECTOR: LINGO: Add test for compiling chunk ref property 2021-06-28 19:59:53 -04:00
djsrv
e072cd925f DIRECTOR: LINGO: Add v4 'the' mappings for chunk refs 2021-06-28 19:59:53 -04:00
djsrv
22f9d6e589 DIRECTOR: LINGO: Implement chunk ref properties 2021-06-28 19:59:53 -04:00
djsrv
21988c77bf DIRECTOR: LINGO: Fix warnings 2021-06-28 19:59:53 -04:00
djsrv
cde2670450 DIRECTOR: LINGO: Remove mWritestring from strings test
This XObject is not present, so the test doesn't really make sense.
2021-06-28 14:57:38 -04:00
djsrv
a2e713407c DIRECTOR: LINGO: Eliminate factory2 and macros2 tests
Moved tests to the same files as the definitions.
2021-06-28 14:56:35 -04:00
djsrv
eb7f93e670 DIRECTOR: LINGO: Make undefined function/property cause Lingo error 2021-06-28 14:21:46 -04:00
djsrv
884d420a00 DIRECTOR: LINGO: Handle the number of cast "nonexistent" 2021-06-28 13:44:29 -04:00
djsrv
24974cd87d DIRECTOR: LINGO: Don't throw Lingo error in Datum::asCastId
Non-existent cast members don't always cause Lingo errors. Error
handling should be done by the callers of this function.
2021-06-28 13:44:02 -04:00
djsrv
d37a680c8b DIRECTOR: LINGO: Fix menuItem property compilation 2021-06-28 13:30:25 -04:00
djsrv
eb6670366e DIRECTOR: LINGO: Allow 'the' to fall back to generic object instructions 2021-06-28 13:29:40 -04:00
ysj1173886760
aff4592ba3 DIRECTOR: update editableTextChannel after we rendering the sprites. 2021-06-26 16:08:20 +02:00
ysj1173886760
aa5128e7ac DIRECTOR: re-organize the logic for handling the editableText. 2021-06-26 16:08:20 +02:00
ysj1173886760
9100998bea DIRECTOR: keep the sprite size when we are handling text castmember.
because we are using initialRect for creating text castmember, thus sprite size is meaning less to us.
2021-06-26 16:08:20 +02:00
ysj1173886760
d437f7a7e1 DIRECTOR: fix drawing the LineBottomTopSprite 2021-06-26 16:08:20 +02:00
ysj1173886760
9d876b4935 DIRECTOR: Don't release the handle to widget when we can keep widget. 2021-06-26 16:08:20 +02:00
ysj1173886760
f1c27a84db DIRECTOR: amend the condition for keeping the widget. 2021-06-26 16:08:20 +02:00
ysj1173886760
d61585d9c0 DIRECTOR: allowing skip deleting widgets for some situations 2021-06-26 16:08:20 +02:00
ysj1173886760
f097abea02 DIRECTOR: use initialRect to represent sprite dimensions 2021-06-26 16:08:20 +02:00