916 Commits

Author SHA1 Message Date
Eugene Sandulenko
f802d26fa8 DIRECTOR: Lingo: Fix b_rollOver() implementation 2017-03-12 19:17:32 +01:00
Eugene Sandulenko
e8fb572487 DIRECTOR: Lingo: Improved stack printing for REFERENCE 2017-03-12 16:20:01 +01:00
Eugene Sandulenko
d1d8fc698a DIRECTOR: Lingo: Implement b_rollOver() 2017-03-12 16:20:00 +01:00
Eugene Sandulenko
7e05b1e94d DIRECTOR: Fix warning 2017-03-12 16:20:00 +01:00
Eugene Sandulenko
db67feba5b JANITORIAL: Whitespace optimisations 2017-03-12 11:15:13 +01:00
stevenhoefel
fba1368267 DIRECTOR: pre-load cast members. 2017-03-12 00:18:03 +11:00
Eugene Sandulenko
d541c5e1a1 DIRECTOR: Lingo: Improved debug output 2017-03-10 18:56:42 +01:00
Eugene Sandulenko
0a59d0a1c2 DIRECTOR: Lingo: Don't leak memory on restart 2017-03-10 09:19:00 +01:00
Eugene Sandulenko
2506f61575 DIRECTOR: Lingo: Reset scripts when switching movies 2017-03-10 09:13:46 +01:00
Eugene Sandulenko
f123a6e4eb DIRECTOR: More debug output for movie playback 2017-03-10 09:10:11 +01:00
Eugene Sandulenko
3c08904e5f DIRECTOR: Fixed global even handlers calling
Handlers defined via 'when ...', should stay at global level
2017-03-10 09:00:35 +01:00
Eugene Sandulenko
4c3f07b3e0 DIRECTOR: Moved event processor to events.cpp 2017-03-09 17:57:12 +01:00
Eugene Sandulenko
ff7cff72f4 DIRECTOR: Lingo: More debug output to call() method 2017-03-08 18:49:19 +01:00
Eugene Sandulenko
0a044b21df DIRECTOR: Fix event mouse event processing in D3 2017-03-08 18:37:16 +01:00
Eugene Sandulenko
6a96a062c7 DIRECTOR: Lingo: Fix parsing D4 variant of 'on ...' clause 2017-03-07 19:34:41 +01:00
Eugene Sandulenko
45dcd06eff DIRECTOR: Lingo: Added definition for 'on' clauses without 'end' 2017-03-07 18:17:31 +01:00
Eugene Sandulenko
983237d912 DIRECTOR: Added sanity check to Score::getSpriteById() 2017-03-07 07:51:38 +01:00
Eugene Sandulenko
4307acdcc8 DIRECTOR: Lingo: Split 'on ...' statement when preprocessing
D4 scripts do not have respective 'end...' statement, which leads
to syntax errors. Now we are preprocessing those as well.
2017-03-06 20:34:04 +01:00
Eugene Sandulenko
28eb61657e DIRECTOR: Execture sprite scripts in D2/D3 2017-03-06 20:19:55 +01:00
Eugene Sandulenko
7f2ddf8a13 DIRECTOR: Fix class initialization 2017-03-06 07:05:42 +01:00
Eugene Sandulenko
85faa4bebc DIRECTOR: Fix getNextLabelNumber() for the rightmost frame 2017-03-03 22:02:58 +01:00
stevenhoefel
aafd10d3d1 DIRECTOR: Correctly return TextCast rectangle for D2/3. 2017-03-03 15:20:59 +11:00
Eugene Sandulenko
415bd56444 DIRECTOR: Janitorial: Fix code formatting 2017-03-02 23:12:42 +01:00
Eugene Sandulenko
4ab38721ce DIRECTOR: Load CastInfo for the Shared Cast 2017-03-01 22:41:07 +01:00
Eugene Sandulenko
3a7c091122 DIRECTOR: Plug memory leak 2017-03-01 10:50:35 +01:00
Eugene Sandulenko
e7842795fe DIRECTOR: Fix debug output 2017-03-01 10:50:35 +01:00
D G Turner
7898c904ba Fix GCC Variable Range Warning.
This was due to the greater than 0x7f being redundant for signed char.
2017-02-28 21:08:11 +00:00
Eugene Sandulenko
5d06607e8a DIRECTOR: Fix warning and code formatting 2017-02-28 10:38:16 +01:00
stevenhoefel
b0093cba4b DIRECTOR: Capture Mouse Down Sprite and highlight respective items. 2017-02-28 15:44:52 +11:00
Eugene Sandulenko
63f168cd1c DIRECTOR: Fix frame script execution
No idea why the initial frame was removed, but that caused everything
to be shifted by 1, and thus, incorrect scripts were launched
2017-02-27 18:28:53 +01:00
Eugene Sandulenko
9278380116 DIRECTOR: Improved debug output 2017-02-27 18:28:18 +01:00
Eugene Sandulenko
37985991e8 DIRECTOR: Fix rendering of shapes of type 16 2017-02-26 23:08:22 +01:00
Eugene Sandulenko
f47602f87d DIRECTOR: More debug output on image rendering 2017-02-26 23:08:22 +01:00
Eugene Sandulenko
29b32d52fa DIRECTOR: Clarified and corrected movie scripts in D2/D3 2017-02-26 00:21:16 +01:00
Eugene Sandulenko
45b41357c1 DIRECTOR: More debug output when loading 2017-02-26 00:05:10 +01:00
Eugene Sandulenko
27a0f43333 DIRECTOR: Move utility functions to util.cpp 2017-02-25 21:44:01 +01:00
Eugene Sandulenko
966f75c39a DIRECTOR: Lingo: Fix b_moveableSprite() stub 2017-02-24 23:41:37 +01:00
Eugene Sandulenko
4b36478786 DIRECTOR: Lingo: Clarified 'play' and 'play done' implementations 2017-02-24 19:32:40 +01:00
Eugene Sandulenko
5eb38c5d1c DIRECTOR: Lingo: Initial code for func_playdone() 2017-02-24 19:16:22 +01:00
Eugene Sandulenko
99f976e3ae DIRECTOR: Lingo: Initial code for func_play() 2017-02-24 19:11:53 +01:00
Eugene Sandulenko
e65df86ef1 DIRECTOR: Encapsulated _nextMovie parameters into a string 2017-02-24 19:02:57 +01:00
Eugene Sandulenko
a3a74c7012 DIRECTOR: Lingo: Clarified compile and exec debug level messages 2017-02-24 08:22:20 +01:00
Eugene Sandulenko
9cfec74ac1 DIRECTOR: Lingo: Show execution trace at earlier debug levels 2017-02-24 08:12:23 +01:00
Eugene Sandulenko
5fa728371f DIRECTOR: Lingo: Try cleaned file names only when it makes sense 2017-02-23 19:09:54 +01:00
Eugene Sandulenko
6047e35bfd DIRECTOR: Lingo: Clean file name of 8-bit character before loading
Mac has had possibility to have 8-bit characters in their filenames.
In the modern world it goes with either codepages or UTF-8, which
makes it much less compatible. Trying to mitigate that
2017-02-23 19:06:10 +01:00
Eugene Sandulenko
70eddbcdb0 DIRECTOR: Lingo: Fix stack underflow in argument assignment 2017-02-23 19:04:26 +01:00
Eugene Sandulenko
78f6038537 DIRECTOR: Lingo: Do not pollute stack in c_assign() 2017-02-23 18:54:33 +01:00
Eugene Sandulenko
a441f4a047 DIRECTOR: Lingo: Initial code for field assignments 2017-02-22 17:18:55 +01:00
Eugene Sandulenko
9cdeb4c88e DIRECTOR: Lingo: Implemented b_field() method 2017-02-22 17:05:08 +01:00
Eugene Sandulenko
d2fe6628f2 DIRECTOR: Added more debug output 2017-02-22 16:47:14 +01:00