Commit Graph
96 Commits
Author SHA1 Message Date
Eugene Sandulenko 5684134ef6 GRAPHICS: MACGUI: Do not use hardcoded colors 2018-07-12 00:41:11 +02:00
Adrian Frühwirth c7f3416daa JANITORIAL: Remove trailing whitespace 2018-05-20 23:40:20 +02:00
stevenhoefel b674c5712c DIRECTOR: Initial work for D5 RTE Cast Member loading. 2017-09-14 13:08:57 +10:00
Tobia Tesan fd310f1fd3 DIRECTOR: Move executeImmediateScripts to lingo.cpp 2017-07-05 08:35:33 +02:00
Tobia Tesan ca89722d57 DIRECTOR: Use CachedMacText for rendering 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 6a741a88c9 GRAPHICS: Pass interlinear as constructor argument to MacText 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 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
stevenhoefel 90e97f7069 DIRECTOR: Further work loading assets from D5 Movies. 2017-04-06 14:55:15 +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 0c91568753 DIRECTOR: More debug output for frame loading 2017-03-17 09:25:33 +00:00
Eugene Sandulenko 6ce4f58f89 DIRECTOR: Execute immediate scripts on frame load 2017-03-14 09:26:20 +01:00
Eugene Sandulenko f802d26fa8 DIRECTOR: Lingo: Fix b_rollOver() implementation 2017-03-12 19:17:32 +01:00
stevenhoefel fba1368267 DIRECTOR: pre-load cast members. 2017-03-12 00:18:03 +11:00
Eugene Sandulenko 4c3f07b3e0 DIRECTOR: Moved event processor to events.cpp 2017-03-09 17:57:12 +01:00
stevenhoefel aafd10d3d1 DIRECTOR: Correctly return TextCast rectangle for D2/3. 2017-03-03 15:20:59 +11: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 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 27a0f43333 DIRECTOR: Move utility functions to util.cpp 2017-02-25 21:44:01 +01:00
Eugene Sandulenko c03ee226ae DIRECTOR: Added sanity check when drawing text 2017-02-22 15:55:06 +01:00
Eugene Sandulenko 748878bf6b DIRECTOR: Hid noisy debug output 2017-02-14 18:57:53 +01:00
Eugene Sandulenko ce82d67b63 DIRECTOR: Turn assert into a warning when sprite cast is missing 2017-02-13 08:51:20 +01:00
Eugene Sandulenko eafa56daf0 JANITORIAL: Formatting fixes 2017-02-11 23:23:56 +01:00
Eugene Sandulenko c444de0eca DIRECTOR: Made DirectorEngine::_currentScore private 2017-02-09 18:48:22 +01:00
Eugene Sandulenko dae115abaf JANITORIAL: Formatting fixes 2017-02-07 08:10:11 +01:00
stevenhoefel 2d8e52771a DIRECTOR: More font alignment and spacing on buttons. Go to frame 0 if no labels. 2017-02-07 16:08:11 +11:00
stevenhoefel 6bf2ddde13 DIRECTOR: Use Text rect for buttons. Adjust sizing appropriately. 2017-02-06 14:45:13 +11:00
Eugene Sandulenko a8c9e47d66 DIRECTOR: Removed text cast width hack. It is incorrect. 2017-02-04 17:52:22 +01:00
Eugene Sandulenko 7c616a5737 DIRECTOR: Added workaround for Text Cast width 2017-02-04 16:43:57 +01:00
Eugene Sandulenko 6fbb82f85b GRAPHICS: Add more debug output to MacText 2017-02-01 18:36:25 +01:00
Eugene Sandulenko 0691c4e82e GRAPHICS: Pass MacWindowManager to MacText constructor 2017-01-29 14:19:28 +01:00
Eugene Sandulenko 9dac440d3b DIRECTOR: Pass font formatting info to MacText 2017-01-29 00:54:31 +01:00
Eugene Sandulenko 61ffb6f553 DIRECTOR: Added more debug output to text display 2017-01-28 11:24:02 +01:00
Eugene Sandulenko d8c8b78afa DIRECTOR: Register and use additional fonts 2017-01-27 19:03:04 +01:00
Eugene Sandulenko c29bb1b672 JANITORIAL: Whitespace fixes 2017-01-27 18:47:10 +01:00
D G Turner 11846907a6 DIRECTOR: Fix Compiler Warning. 2017-01-18 05:35:10 +00:00
stevenhoefel d391932ac4 DIRECTOR: Refactor Text Rendering. Use alignment of MacText. Render to temporary surface to allow ink blitting. 2017-01-17 22:16:27 +11:00
D G Turner 694a840704 DIRECTOR: Fix Unused Variable Compiler Warning. 2017-01-16 06:09:13 +00:00
stevenhoefel d765bb334d DIRECTOR: Rewind shared cast memorystream before trying to load the data. 2017-01-16 13:19:47 +11:00
Eugene Sandulenko 8b5196da53 DIRECTOR: Added debug output for Shared Cast images 2017-01-16 00:51:37 +01:00