aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-20 12:14:28 +0200
committerEugene Sandulenko2016-08-20 12:14:28 +0200
commit8d30487b7631af5e59a8539b16f8c2f1f6339d01 (patch)
tree9e73121c3bbef63dcb061e93cbc404ea8a65b91e
parent2bcae4cadcba7dc08e74a62bbbf8452785681a48 (diff)
downloadscummvm-rg350-8d30487b7631af5e59a8539b16f8c2f1f6339d01.tar.gz
scummvm-rg350-8d30487b7631af5e59a8539b16f8c2f1f6339d01.tar.bz2
scummvm-rg350-8d30487b7631af5e59a8539b16f8c2f1f6339d01.zip
DIRECTOR: Lingo: Added stubs for all D2 sprite properties
-rw-r--r--engines/director/lingo/lingo-the.cpp37
-rw-r--r--engines/director/lingo/lingo-the.h3
2 files changed, 23 insertions, 17 deletions
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,