aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-20 12:20:26 +0200
committerEugene Sandulenko2016-08-20 12:20:59 +0200
commitdcbc7e3b4de8525c4638c151eb3a7a662e3b15e1 (patch)
treee4a2c37fb7df321ae66ff16d402e8b2976872dcb
parent8d30487b7631af5e59a8539b16f8c2f1f6339d01 (diff)
downloadscummvm-rg350-dcbc7e3b4de8525c4638c151eb3a7a662e3b15e1.tar.gz
scummvm-rg350-dcbc7e3b4de8525c4638c151eb3a7a662e3b15e1.tar.bz2
scummvm-rg350-dcbc7e3b4de8525c4638c151eb3a7a662e3b15e1.zip
DIRECTOR: Lingo: Added all D2 text properties. This completes D2 grammar. Yay!
-rw-r--r--engines/director/lingo/lingo-the.cpp6
-rw-r--r--engines/director/lingo/lingo-the.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index e11f24e061..d868b8ab00 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -170,9 +170,11 @@ TheEntityField fields[] = {
{ kTheCast, "picture", kThePicture },
// TextCast fields
- { kTheCast, "hilite", kTheHilite },
+ { kTheCast, "hilite", kTheHilite }, // D2 p
+ { kTheCast, "selEnd", kTheSelEnd }, // D2 p
+ { kTheCast, "selStart", kTheSelStart }, // D2 p
{ kTheCast, "size", kTheSize },
- { kTheCast, "text", kTheText },
+ { kTheCast, "text", kTheText }, // D2 p
{ kTheWindow, "drawRect", kTheDrawRect },
{ kTheWindow, "filename", kTheFilename },
diff --git a/engines/director/lingo/lingo-the.h b/engines/director/lingo/lingo-the.h
index c5a32f18da..f68a81d363 100644
--- a/engines/director/lingo/lingo-the.h
+++ b/engines/director/lingo/lingo-the.h
@@ -157,6 +157,8 @@ enum TheFieldType {
kTheScript,
kTheScriptNum,
kTheScriptText,
+ kTheSelEnd,
+ kTheSelStart,
kTheSize,
kTheStrech,
kTheSound,