59 Commits

Author SHA1 Message Date
djsrv
258318c0b1 DIRECTOR: Read movie creation platform from config 2021-07-06 21:30:30 -04:00
djsrv
957abce35b DIRECTOR: Initialize cast and movie version in constructors
Just set it to 0 to inicate no archive is loaded instead of garbage.
2021-07-04 00:25:38 -04:00
djsrv
7bfa8aa6dc DIRECTOR: Add castLibID to Cast 2021-06-30 22:32:19 -04:00
djsrv
8dfa5f4e73 DIRECTOR: LINGO: Use member ID as script ID in D2-3
Movie scripts have a corresponding text cast member, so it makes sense
to have the IDs match.
2021-06-30 22:32:19 -04:00
djsrv
615995fdc1 DIRECTOR: Change member refs to use CastMemberID 2021-06-30 22:32:19 -04:00
djsrv
2d5ca7a1d6 DIRECTOR: Remove getCastMemberByScriptId from Movie
This can be called on the correct cast directly.
2021-06-30 22:32:19 -04:00
ysj1173886760
cd40e09ed5 DIRECTOR: drawing macwidgets on _screen instead of drawing directly on screen. This may fix the zoombox issue 2021-06-20 14:33:53 +02:00
ysj1173886760
31098bbb16 DIRECTOR: modify event handling, introduce _currentHiliteChannelId and _currentHandlingChannelId to movie.
those two are aimed for the situation that when we hold the button and move out of the bounds, then we should de-activated the sprite
_currentHilite are for Bitmap castmember inverting. _currentHandling is for other castmembers, such as macbutton which has it's own check. And also for those sprites which don't need to hilited
2021-06-20 14:33:53 +02:00
ysj1173886760
efe872b8c0 DIRECTOR: implement the CheckBoxType to Lingo 2021-06-20 14:33:53 +02:00
ysj1173886760
3332517243 DIRECTOR: move selStart and selEnd from Lingo to Movie 2021-06-10 13:58:41 +02:00
djsrv
ff7943d576 DIRECTOR: Make loadArchive return false if no VWCF 2021-06-07 15:06:00 -04:00
djsrv
ed8ca876e3 DIRECTOR: Use version from VWCF for loading 2021-06-07 14:48:48 -04:00
Eugene Sandulenko
5ec3815106 DIRECTOR: Update digital video independently from the frame tempo 2020-08-18 13:08:52 +02:00
Eugene Sandulenko
3f160561d6 DIRECTOR: Fixed for 32bpp mode, things work 2020-08-16 23:08:33 +02:00
Eugene Sandulenko
e5e82d4cf6 DIRECTOR: Copy over PixelFormat from the WM for simpler access 2020-08-14 10:47:33 +02:00
Eugene Sandulenko
571ce913e1 DIRECTOR: Do not use hardcoded pixel format 2020-08-14 10:47:33 +02:00
Nathanael Gentry
d12cb32f5d DIRECTOR: Only recenter window on new dims
DIRECTOR: Fix whitespace
2020-08-13 21:24:47 -04:00
Eugene Sandulenko
88c46aefe3 DIRECTOR: Initial code for 32bpp rendering 2020-08-14 01:10:56 +02:00
djsrv
baacf3c1ab DIRECTOR: Replace SeekableSubReadStreamEndian
Use the superclass SeekableReadStreamEndian.
2020-08-12 17:26:55 -04:00
Nathanael Gentry
f28808007b DIRECTOR: Eliminate intermediate surface 2020-08-12 02:35:26 -04:00
djsrv
0ff7274993 DIRECTOR: Multiply version numbers by 100
To accomodate minor version.
2020-08-10 15:00:55 -04:00
Nathanael Gentry
7a15ae695a DIRECTOR: Implement kTheCenterStage 2020-08-06 12:50:25 -04:00
Nathanael Gentry
ed1b8bac24 DIRECTOR: Only re-init surface on changed dims 2020-08-06 12:50:24 -04:00
Nathanael Gentry
05a18f74be DIRECTOR: Reset current window on movie change 2020-08-06 12:50:24 -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
djsrv
054b8ddeb0 DIRECTOR: Improve mouse event handling 2020-07-27 16:42:42 -04:00
Roland van Laar
30e6f0a01d DIRECTOR: LINGO: Add scripts to the correct cast
Repair the castIds of script when the scripts are loaded.
The castIds that are defined in the scripts can be wrong.
A better way to link scripts with casts is via the scriptId.

To achieve this casts need to be fetched by their scriptId.
This commit implements the necessary getCastMemberByScript functions
to enable fetching a cast by it's scriptId.

Also removes the old way of repairing the castId coupling.
2020-07-27 00:48:51 +02:00
djsrv
f23ef93766 DIRECTOR: Move event handling to movie 2020-07-23 20:05:49 -04:00
djsrv
854300607c DIRECTOR: Fix mac name 2020-07-20 15:24:22 -04:00
Eugene Sandulenko
7e09789d10 DIRECTOR: Set the current editable text channel 2020-07-19 17:17:45 +02:00
djsrv
9337e704bf DIRECTOR: Improve movie load debugging 2020-07-16 18:15:20 -04:00
djsrv
f71670e8d9 DIRECTOR: LINGO: Implement allow outdated lingo 2020-07-15 23:30:12 -04:00
djsrv
3d1a68a3ed DIRECTOR: Improve file/cast info loading 2020-07-15 21:03:58 -04:00
Eugene Sandulenko
36940ed62e DIRECTOR: Fix script preprocessing 2020-07-15 12:10:09 +02:00
Eugene Sandulenko
ab8ee18ad9 DIRECTOR: Fix crahs on empty preload in VWFI 2020-07-15 00:59:23 +02:00
Eugene Sandulenko
7fbe5f6a2e DIRECTOR: Process edge cases in loadDataEntries 2020-07-15 00:19:36 +02:00
Eugene Sandulenko
a4c796bd00 DIRECTOR: Added debug output to VWFI loading 2020-07-15 00:19:36 +02:00
Eugene Sandulenko
114aa89b71 DIRECTOR: Switch String arrays to data arrays 2020-07-15 00:19:36 +02:00
djsrv
591ab83914 DIRECTOR: Fix window initialization 2020-07-09 15:40:04 -04:00
djsrv
b2c20a07f7 DIRECTOR: LINGO: Refactor Object
This turns Object into a template so any type can easily act as a Lingo
object. For example, script objects no longer own a script context.
They *are* script contexts, and there are custom getters/setters for
methods and properties.
2020-07-07 16:59:55 -04:00
djsrv
d8725510b6 GRAPHICS: MACGUI: Don't draw border over contents 2020-07-06 13:12:55 -04:00
Eugene Sandulenko
7264109786 DIRECTOR: Set Movie stageColor.
However, I do not see it set anywhere else. It could be a bigger problem
2020-07-06 12:01:48 +02: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
509871448d DIRECTOR: Add desktop debug flag 2020-07-03 11:03:21 -04:00
djsrv
05b6bb2021 DIRECTOR: Add Cast convenience methods 2020-07-02 11:40:22 -04:00
djsrv
38d17341e2 DIRECTOR: LINGO: Move lingo archive to Cast 2020-07-01 22:07:13 -04:00
djsrv
fb39572fd5 DIRECTOR: Move _sharedCast to Movie 2020-07-01 13:24:37 -04:00
Eugene Sandulenko
1aa1fe2802 DIRECTOR: Furhter decrease of header dependency 2020-07-01 17:49:48 +02:00
djsrv
4747a97cfe DIRECTOR: Fix Cast/Movie debugs 2020-07-01 11:28:00 -04:00
djsrv
5ae6c34074 DIRECTOR: Separate Movie and Cast from Score 2020-07-01 10:50:31 -04:00