[Scummvm-git-logs] scummvm master -> 67f069cbc6b7770fd3bc70569bd59106ead97d3c

sev- sev at scummvm.org
Sat Jan 14 00:02:58 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
67f069cbc6 DIRECTOR: Lingo: More work on D4 mapping


Commit: 67f069cbc6b7770fd3bc70569bd59106ead97d3c
    https://github.com/scummvm/scummvm/commit/67f069cbc6b7770fd3bc70569bd59106ead97d3c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-01-14T00:02:51+01:00

Commit Message:
DIRECTOR: Lingo: More work on D4 mapping

Changed paths:
    engines/director/lingo/lingo-the.cpp
    engines/director/lingo/lingo-the.h


diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index 81dc490..71211e3 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -50,6 +50,7 @@ TheEntity entities[] = {
 	{ kTheFixStageSize,		"fixStageSize",		false },	// D2 p
 	{ kTheFloatPrecision,	"floatPrecision",	false },	//		D3 p
 	{ kTheFrame,			"frame",			false },	// D2 f
+	{ kTheFrameScript,		"frameScript",		false },	//				D4 p
 	{ kTheFreeBlock,		"freeBlock",		false },	// D2 f
 	{ kTheFreeBytes,		"freeBytes",		false },	// D2 f
 	{ kTheFullColorPermit,	"fullColorPermit",	false },	// D2 p
@@ -157,17 +158,14 @@ TheEntityField fields[] = {
 	{ kTheSprite,	"volume",		kTheVolume },
 	{ kTheSprite,	"width",		kTheWidth },		// D2 p
 
-	// the number of castmembers
-	{ kTheCastMembers,	"number",	kTheNumber },		// 		D3 p
-
 	// Common cast fields
 	{ kTheCast,		"castType",		kTheCastType },		//				D4 p
 	{ kTheCast,		"filename",		kTheFilename },
 	{ kTheCast,		"height",		kTheHeight },
 	{ kTheCast,		"loaded",		kTheLoaded },
 	{ kTheCast,		"modified",		kTheModified },
-	{ kTheCast,		"name",			kTheName },
-	{ kTheCast,		"number",		kTheNumber },
+	{ kTheCast,		"name",			kTheName },			//		D3 p
+	{ kTheCast,		"number",		kTheNumber },		//		D3 p
 	{ kTheCast,		"rect",			kTheRect },
 	{ kTheCast,		"purgePriority",kThePurgePriority }, // 0 Never purge, 1 Purge Last, 2 Purge next, 2 Purge normal
 	{ kTheCast,		"scriptText",	kTheScriptText },
@@ -190,7 +188,7 @@ TheEntityField fields[] = {
 	{ kTheCast,		"depth",		kTheDepth },
 	{ kTheCast,		"regPoint",		kTheRegPoint },
 	{ kTheCast,		"palette",		kThePalette },
-	{ kTheCast,		"picture",		kThePicture },
+	{ kTheCast,		"picture",		kThePicture },		//		D3 p
 
 	// TextCast fields
 	{ kTheCast,		"hilite",		kTheHilite },		// D2 p
@@ -216,6 +214,7 @@ TheEntityField fields[] = {
 
 	{ kTheMenu,		"name",			kTheName },			//		D3 p
 
+	{ kTheCastMembers,	"number",	kTheNumber },		// 		D3 p
 	{ kTheChars,	"number",		kTheNumber },		//		D3 p
 	{ kTheItems,	"number",		kTheNumber },		//		D3 p
 	{ kTheLines,	"number",		kTheNumber },		//		D3 p
diff --git a/engines/director/lingo/lingo-the.h b/engines/director/lingo/lingo-the.h
index 82b679e..8cec0ce 100644
--- a/engines/director/lingo/lingo-the.h
+++ b/engines/director/lingo/lingo-the.h
@@ -48,6 +48,7 @@ enum TheEntityType {
 	kTheFixStageSize,
 	kTheFloatPrecision,
 	kTheFrame,
+	kTheFrameScript,
 	kTheFreeBlock,
 	kTheFreeBytes,
 	kTheFullColorPermit,





More information about the Scummvm-git-logs mailing list