diff options
author | Dmitry Iskrich | 2016-07-04 20:17:18 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 6d3f596a25406113cbbe5c03eb6a18bc7b72c5c1 (patch) | |
tree | 8300bb31b7c3944f3bd9a5703913f5461e9c7407 | |
parent | 7ecc1f8da764f870b033167b5bb68c3a701e2ae7 (diff) | |
download | scummvm-rg350-6d3f596a25406113cbbe5c03eb6a18bc7b72c5c1.tar.gz scummvm-rg350-6d3f596a25406113cbbe5c03eb6a18bc7b72c5c1.tar.bz2 scummvm-rg350-6d3f596a25406113cbbe5c03eb6a18bc7b72c5c1.zip |
DIRECTOR: Lingo: Add Cast, Window, Sprite fields enum
-rw-r--r-- | engines/director/lingo/lingo-the.cpp | 59 | ||||
-rw-r--r-- | engines/director/lingo/lingo-the.h | 56 |
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 |