902 Commits

Author SHA1 Message Date
Tobia Tesan
137e10eef2 DIRECTOR: Add kFrameScript call
This follows from D4 docs.

Changes semantics, *might* break stuff.
2017-07-05 08:35:33 +02:00
Tobia Tesan
0584f936dc DIRECTOR: Reorder processInputEvent 2017-07-05 08:35:33 +02:00
Tobia Tesan
bfe3a316c4 DIRECTOR: Swap order of processEvent calls
This appears to be the correct order from docs and makes code easier to
reorder.

*Might* break stuff though.
2017-07-05 08:35:33 +02:00
Tobia Tesan
57dbfbf988 DIRECTOR: Call primaryEventHandler in processInputEvent 2017-07-05 08:35:33 +02:00
Tobia Tesan
c267bc208f DIRECTOR: Handle kEventPrepareFrame in processFrameEvent 2017-07-05 08:35:33 +02:00
Tobia Tesan
963bc4a351 DIRECTOR: Move kEventMouseUp/Down handling to processInputEvent 2017-07-05 08:35:33 +02:00
Tobia Tesan
5a9a1571fa DIRECTOR: Include sprite.h in lingo-events.cpp 2017-07-05 08:35:33 +02:00
Tobia Tesan
f9302e2c94 DIRECTOR: Handle frame enter/exit with 1-ary processEvent call 2017-07-05 08:35:33 +02:00
Tobia Tesan
ce3aaa08d0 DIRECTOR: Implement processFrameEvent 2017-07-05 08:35:33 +02:00
Tobia Tesan
38db7dfafe DIRECTOR: Add runMovieScript 2017-07-05 08:35:33 +02:00
Tobia Tesan
252c890bf5 DIRECTOR: Add Lingo::PrimaryEventHandler 2017-07-05 08:35:33 +02:00
Tobia Tesan
ed66169adf DIRECTOR: Include frame.h in lingo-events.cpp 2017-07-05 08:35:33 +02:00
Tobia Tesan
4f749fc007 DIRECTOR: Add Lingo::_dontPassEvent
I'm not sure whether this should go here or in Director.
I'm leaving it here because _dontPassEvent changes the semantics of event handling.
2017-07-05 08:35:33 +02:00
Eugene Sandulenko
bfd2b487eb DIRECTOR: Fix code formatting 2017-05-02 22:06:59 +02:00
Eugene Sandulenko
98f0006ad9 DIRECTOR: Reduce header dependency 2017-05-02 22:06:39 +02:00
Eugene Sandulenko
c750d17b0c DIRECTOR: Fix #include paths 2017-05-02 22:04:21 +02:00
Tobia Tesan
ca89722d57 DIRECTOR: Use CachedMacText for rendering 2017-05-02 21:01:23 +01:00
Tobia Tesan
bd7ded3f56 DIRECTOR: Add CachedMacText to TextCast 2017-05-02 21:01:23 +01:00
Tobia Tesan
415d9d660e DIRECTOR: Add CachedMacText 2017-05-02 21:01:23 +01:00
Tobia Tesan
d6f651064b DIRECTOR: Add TextCast::importStxt 2017-05-02 21:01:23 +01:00
Tobia Tesan
8b9e029c1e DIRECTOR: Remove now-useless textId parameter from renderButton 2017-05-02 21:01:23 +01:00
Tobia Tesan
61cd407405 DIRECTOR: Use text from textCasts 2017-05-02 21:01:23 +01:00
Tobia Tesan
84a65f9df0 DIRECTOR: Init textCasts with Stxts in Score 2017-05-02 21:01:23 +01:00
Tobia Tesan
bad6cc32ef DIRECTOR: Equip textCast with _ftext 2017-05-02 21:01:23 +01:00
Tobia Tesan
6a741a88c9 GRAPHICS: Pass interlinear as constructor argument to MacText 2017-05-02 21:01:23 +01:00
Tobia Tesan
4ae5453af8 DIRECTOR: Add stxt.cpp 2017-05-02 21:01:23 +01:00
Tobia Tesan
fca74091c3 DIRECTOR: Delete Stxts in ~Score 2017-05-02 21:01:23 +01:00
Tobia Tesan
e69855acef DIRECTOR: Use preloaded Stxt for rendering 2017-05-02 21:01:23 +01:00
Tobia Tesan
2bb427d6e1 DIRECTOR: Preload Stxts in Score 2017-05-02 21:01:23 +01:00
Tobia Tesan
61e4181f5f DIRECTOR: Add _loadedStxts member to Score 2017-05-02 21:01:23 +01:00
Tobia Tesan
1de51c10dd DIRECTOR: Add Stxt.h 2017-05-02 21:01:23 +01:00
Tobia Tesan
23b6dbbede DIRECTOR: clean up renderText: separate reading & actual rendering 2017-04-30 09:48:08 +02:00
Tobia Tesan
03831698ac DIRECTOR: remove redundant/ineffective assignments to width 2017-04-30 09:48:08 +02:00
Tobia Tesan
132785ccb0 DIRECTOR: clean up renderText: move warning block down
This changes slightly the semantics of the method; however, I assume we
want to print (or not) the warning based on the width/height values that
will in fact be used *in* the method.
2017-04-30 09:48:08 +02:00
Tobia Tesan
b6eb8a1a66 DIRECTOR: consolidate font, width instructions in renderText 2017-04-30 09:48:08 +02:00
Tobia Tesan
ed2f09b13f GRAPHICS: Delete MacFont in MacText 2017-04-30 09:48:08 +02:00
Tobia Tesan
af664fe757 GRAPHICS: Use MacFont in lieu of Graphics::Font in MacText 2017-04-30 09:48:08 +02:00
D G Turner
827e4efb09 DIRECTOR: Fix Various Compiler Warnings. 2017-04-25 00:53:48 +01:00
Eugene Sandulenko
a36e631b16 DIRECTOR: Fix event processing 2017-04-17 18:23:25 +02:00
Eugene Sandulenko
4873330d23 DIRECTOR: Lingo: Added stub for generic event handlers 2017-04-14 18:49:01 +02:00
stevenhoefel
bcc3fffc2d DIRECTOR: D5 Shared Cast loading. 2017-04-13 14:41:00 +10:00
Eugene Sandulenko
b1778dc04d DIRECTOR: Remove pointless comparison.
size is a byte, so it is always < 2048.
2017-04-09 00:11:17 +02:00
stevenhoefel
90e97f7069 DIRECTOR: Further work loading assets from D5 Movies. 2017-04-06 14:55:15 +10:00
Eugene Sandulenko
497cd98838 DIRECTOR: Fix warnings 2017-04-05 19:38:44 +02:00
stevenhoefel
d52d58d3dd DIRECTOR: Initial work to load D5 assets. 2017-04-04 20:09:57 +10:00
stevenhoefel
ea989b681c DIRECTOR: Bring cast children back for D4 or higher. 2017-04-03 14:54:07 +10:00
stevenhoefel
a307a91916 DIRECTOR: Use button cast when rendering button text. 2017-04-03 14:38:36 +10:00
stevenhoefel
7b9afc37ce DIRECTOR: Pre-load Button child text members. 2017-04-03 11:33:02 +10:00
Eugene Sandulenko
680539df84 DIRECTOR: Shorted detection tables 2017-04-02 20:40:22 +02:00
Eugene Sandulenko
6e2758be11 DIRECTOR: Fix Ernie detection 2017-04-01 16:28:48 +02:00