aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/lingo/lingo-the.cpp59
-rw-r--r--engines/director/lingo/lingo-the.h56
2 files changed, 113 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index a0a24249b0..778c9670a3 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -35,10 +35,12 @@ static struct TheEntityProto {
{ kTheMouseH, "mouseh", false },
{ kTheMouseV, "mousev", false },
{ kTheSprite, "sprite", true },
+ { kTheCast, "cast", true },
{ kThePerFrameHook, "perframehook", false },
{ kTheTicks, "ticks", false },
{ kTheTimer, "timer", false },
{ kTheTimeoutLength,"timeoutlength",false },
+ { kTheWindow, "window", false },
{ kTheNOEntity, NULL, false }
};
@@ -52,6 +54,63 @@ static struct TheEntityFieldProto {
{ kTheSprite, "cursor", kTheCursor },
{ kTheSprite, "loch", kTheLocH },
{ kTheSprite, "locv", kTheLocV },
+ { kTheSprite, "backColor", kTheBackColor },
+ { kTheSprite, "blend", kTheBlend },
+ { kTheSprite, "bottom", kTheBottom },
+ { kTheSprite, "constraint", kTheConstraint },
+ { kTheSprite, "editableText", kTheEditableText },
+ { kTheSprite, "foreColor", kTheForeColor },
+ { kTheSprite, "height", kTheHeight },
+ { kTheSprite, "ink", kTheInk },
+ { kTheSprite, "left", kTheLeft },
+ { kTheSprite, "lineSize", kTheLineSize },
+ { kTheSprite, "moveable", kTheMoveable },
+ { kTheSprite, "movieRate", kTheMovieRate },
+ { kTheSprite, "movieTime", kTheMovieTime },
+ { kTheSprite, "right", kTheRight },
+ { kTheSprite, "stopTime", kTheStopTime },
+ { kTheSprite, "stretch", kTheStrech },
+ { kTheSprite, "startTime", kTheStartTime },
+ { kTheSprite, "scriptNum", kTheScriptNum },
+ { kTheSprite, "top", kTheTop },
+ { kTheSprite, "trails", kTheTrails },
+ { kTheSprite, "type", kTheType },
+ { kTheSprite, "visible", kTheVisible },
+ { kTheSprite, "volume", kTheVolume },
+ { kTheSprite, "width", kTheWidth },
+
+ { kTheCast, "backColor", kTheBackColor },
+ { kTheCast, "castType", kTheCastType },
+ { kTheCast, "controller", kTheController },
+ { kTheCast, "depth", kTheDepth },
+ { kTheCast, "directToStage",kTheDirectToStage },
+ { kTheCast, "filename", kTheFilename },
+ { kTheCast, "foreColor", kTheForeColor },
+ { kTheCast, "frameRate", kTheFrameRate },
+ { kTheCast, "hilite", kTheHilite },
+ { kTheCast, "height", kTheHeight },
+ { kTheCast, "loop", kTheLoop },
+ { kTheCast, "loaded", kTheLoaded },
+ { kTheCast, "modified", kTheModified },
+ { kTheCast, "number", kTheNumber },
+ { kTheCast, "name", kTheName },
+ { kTheCast, "palette", kThePalette },
+ { kTheCast, "pausedAtStart",kThePausedAtStart },
+ { kTheCast, "picture", kThePicture },
+ { kTheCast, "preload", kThePreload },
+ { kTheCast, "purgePriority",kThePurgePriority },
+ { kTheCast, "rect", kTheRect },
+ { kTheCast, "regPoint", kTheRegPoint },
+ { kTheCast, "scriptText", kTheScriptText },
+ { kTheCast, "size", kTheSize },
+ { kTheCast, "sound", kTheSound },
+ { kTheCast, "text", kTheText },
+ { kTheCast, "width", kTheWidth },
+
+ { kTheWindow, "drawRect", kTheDrawRect },
+ { kTheWindow, "filename", kTheFilename },
+ { kTheWindow, "sourceRect", kTheSourceRect },
+ { kTheWindow, "visible", kTheVisible },
{ kTheNOEntity, NULL, kTheNOField }
};
diff --git a/engines/director/lingo/lingo-the.h b/engines/director/lingo/lingo-the.h
index e867283d8e..fba9924778 100644
--- a/engines/director/lingo/lingo-the.h
+++ b/engines/director/lingo/lingo-the.h
@@ -33,18 +33,70 @@ enum TheEntity {
kTheMouseH,
kTheMouseV,
kTheSprite,
+ kTheCast,
kThePerFrameHook,
kTheTicks,
kTheTimer,
- kTheTimeoutLength
+ kTheTimeoutLength,
+ kTheWindow
};
enum TheField {
kTheNOField = 0,
kTheCastNum = 1,
+ kTheCastType,
+ kTheController,
kTheCursor,
+ kTheDepth,
+ kTheDirectToStage,
+ kTheDrawRect,
kTheLocH,
- kTheLocV
+ kTheLocV,
+ kTheBackColor,
+ kTheBlend,
+ kTheBottom,
+ kTheConstraint,
+ kTheEditableText,
+ kTheForeColor,
+ kTheFrameRate,
+ kTheFilename,
+ kTheHeight,
+ kTheHilite,
+ kTheInk,
+ kTheLeft,
+ kTheLineSize,
+ kTheLoop,
+ kTheLoaded,
+ kTheModified,
+ kTheMoveable,
+ kTheMovieRate,
+ kTheMovieTime,
+ kTheNumber,
+ kTheName,
+ kThePalette,
+ kThePausedAtStart,
+ kThePicture,
+ kThePreload,
+ kThePurgePriority,
+ kTheRect,
+ kTheRegPoint,
+ kTheRight,
+ kTheStopTime,
+ kTheStretch,
+ kTheStartTime,
+ kTheScriptNum,
+ kTheScriptText,
+ kTheSize,
+ kTheStrech,
+ kTheSound,
+ kTheSourceRect,
+ kTheText,
+ kTheTop,
+ kTheTrails,
+ kTheType,
+ kTheVisible,
+ kTheVolume,
+ kTheWidth
};
} // End of namespace Director