From 8d30487b7631af5e59a8539b16f8c2f1f6339d01 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 20 Aug 2016 12:14:28 +0200 Subject: DIRECTOR: Lingo: Added stubs for all D2 sprite properties --- engines/director/lingo/lingo-the.cpp | 37 +++++++++++++++++++----------------- engines/director/lingo/lingo-the.h | 3 +++ 2 files changed, 23 insertions(+), 17 deletions(-) (limited to 'engines/director/lingo') diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp index a77fbd3132..e11f24e061 100644 --- a/engines/director/lingo/lingo-the.cpp +++ b/engines/director/lingo/lingo-the.cpp @@ -105,34 +105,37 @@ TheEntity entities[] = { }; TheEntityField fields[] = { - { kTheSprite, "backColor", kTheBackColor }, + { kTheSprite, "backColor", kTheBackColor }, // D2 p { kTheSprite, "blend", kTheBlend }, - { kTheSprite, "bottom", kTheBottom }, - { kTheSprite, "castnum", kTheCastNum }, - { kTheSprite, "constraint", kTheConstraint }, - { kTheSprite, "cursor", kTheCursor }, + { kTheSprite, "bottom", kTheBottom }, // D2 p + { kTheSprite, "castNum", kTheCastNum }, // D2 p + { kTheSprite, "constraint", kTheConstraint }, // D2 p + { kTheSprite, "cursor", kTheCursor }, // D2 p { kTheSprite, "editableText", kTheEditableText }, - { kTheSprite, "foreColor", kTheForeColor }, - { kTheSprite, "height", kTheHeight }, - { kTheSprite, "ink", kTheInk }, - { kTheSprite, "left", kTheLeft }, - { kTheSprite, "lineSize", kTheLineSize }, - { kTheSprite, "loch", kTheLocH }, - { kTheSprite, "locv", kTheLocV }, + { kTheSprite, "foreColor", kTheForeColor }, // D2 p + { kTheSprite, "height", kTheHeight }, // D2 p + { kTheSprite, "immediate", kTheImmediate }, // D2 p + { kTheSprite, "ink", kTheInk }, // D2 p + { kTheSprite, "left", kTheLeft }, // D2 p + { kTheSprite, "lineSize", kTheLineSize }, // D2 p + { kTheSprite, "locH", kTheLocH }, // D2 p + { kTheSprite, "locV", kTheLocV }, // D2 p { kTheSprite, "moveable", kTheMoveable }, { kTheSprite, "movieRate", kTheMovieRate }, { kTheSprite, "movieTime", kTheMovieTime }, - { kTheSprite, "right", kTheRight }, + { kTheSprite, "pattern", kThePattern }, // D2 p + { kTheSprite, "puppet", kThePuppet }, // D2 p + { kTheSprite, "right", kTheRight }, // D2 p { kTheSprite, "scriptNum", kTheScriptNum }, { kTheSprite, "startTime", kTheStartTime }, - { kTheSprite, "stretch", kTheStrech }, + { kTheSprite, "stretch", kTheStrech }, // D2 p { kTheSprite, "stopTime", kTheStopTime }, - { kTheSprite, "top", kTheTop }, + { kTheSprite, "top", kTheTop }, // D2 p { kTheSprite, "trails", kTheTrails }, - { kTheSprite, "type", kTheType }, + { kTheSprite, "type", kTheType }, // D2 p { kTheSprite, "visible", kTheVisible }, { kTheSprite, "volume", kTheVolume }, - { kTheSprite, "width", kTheWidth }, + { kTheSprite, "width", kTheWidth }, // D2 p // Common cast fields { kTheCast, "castType", kTheCastType }, diff --git a/engines/director/lingo/lingo-the.h b/engines/director/lingo/lingo-the.h index d24488d78a..c5a32f18da 100644 --- a/engines/director/lingo/lingo-the.h +++ b/engines/director/lingo/lingo-the.h @@ -129,6 +129,7 @@ enum TheFieldType { kTheFilename, kTheHeight, kTheHilite, + kTheImmediate, kTheInk, kTheLeft, kTheLineSize, @@ -141,9 +142,11 @@ enum TheFieldType { kTheNumber, kTheName, kThePalette, + kThePattern, kThePausedAtStart, kThePicture, kThePreload, + kThePuppet, kThePurgePriority, kTheRect, kTheRegPoint, -- cgit v1.2.3