[Scummvm-git-logs] scummvm master -> 1d8b821290a18ce825336aeb93c6d39cde30928d
sev-
sev at scummvm.org
Thu Jul 23 20:38:13 UTC 2020
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:
1d8b821290 DIRECTOR: LINGO: Mapped more fields in bytecode
Commit: 1d8b821290a18ce825336aeb93c6d39cde30928d
https://github.com/scummvm/scummvm/commit/1d8b821290a18ce825336aeb93c6d39cde30928d
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-23T22:36:16+02:00
Commit Message:
DIRECTOR: LINGO: Mapped more fields in bytecode
Changed paths:
engines/director/lingo/lingo-bytecode.cpp
diff --git a/engines/director/lingo/lingo-bytecode.cpp b/engines/director/lingo/lingo-bytecode.cpp
index bf4be3c73c..219463279b 100644
--- a/engines/director/lingo/lingo-bytecode.cpp
+++ b/engines/director/lingo/lingo-bytecode.cpp
@@ -157,17 +157,22 @@ static LingoV4TheEntity lingoV4TheEntity[] = {
{ 0x00, 0x0d, kTheWords, kTheLast, false, kTEAString },
{ 0x00, 0x0e, kTheItems, kTheLast, false, kTEAString },
{ 0x00, 0x0f, kTheLines, kTheLast, false, kTEAString },
+
{ 0x01, 0x01, kTheChars, kTheNumber, false, kTEAString },
{ 0x01, 0x02, kTheWords, kTheNumber, false, kTEAString },
{ 0x01, 0x03, kTheItems, kTheNumber, false, kTEAString },
{ 0x01, 0x04, kTheLines, kTheNumber, false, kTEAString },
+
{ 0x02, 0x01, kTheMenu, kTheName, false, kTEAItemId },
{ 0x02, 0x02, kTheMenuItems, kTheNumber, false, kTEAItemId },
+
{ 0x03, 0x01, kTheMenuItem, kTheName, true, kTEAMenuIdItemId },
{ 0x03, 0x02, kTheMenuItem, kTheCheckMark, true, kTEAMenuIdItemId },
{ 0x03, 0x03, kTheMenuItem, kTheEnabled, true, kTEAMenuIdItemId },
{ 0x03, 0x04, kTheMenuItem, kTheScript, true, kTEAMenuIdItemId },
+
{ 0x04, 0x01, kTheSoundEntity, kTheVolume, true, kTEAItemId },
+
{ 0x06, 0x01, kTheSprite, kTheCursor, true, kTEAItemId },
{ 0x06, 0x02, kTheSprite, kTheBackColor, true, kTEAItemId },
{ 0x06, 0x03, kTheSprite, kTheBottom, true, kTEAItemId },
@@ -184,6 +189,7 @@ static LingoV4TheEntity lingoV4TheEntity[] = {
{ 0x06, 0x0e, kTheSprite, kTheLocV, true, kTEAItemId },
{ 0x06, 0x0f, kTheSprite, kTheMovieRate, true, kTEAItemId },
{ 0x06, 0x10, kTheSprite, kTheMovieTime, true, kTEAItemId },
+ { 0x06, 0x11, kTheSprite, kThePattern, true, kTEAItemId },
{ 0x06, 0x12, kTheSprite, kThePuppet, true, kTEAItemId },
{ 0x06, 0x13, kTheSprite, kTheRight, true, kTEAItemId },
{ 0x06, 0x14, kTheSprite, kTheStartTime, true, kTEAItemId },
@@ -194,32 +200,54 @@ static LingoV4TheEntity lingoV4TheEntity[] = {
{ 0x06, 0x19, kTheSprite, kTheVisible, true, kTEAItemId },
{ 0x06, 0x1a, kTheSprite, kTheVolume, true, kTEAItemId },
{ 0x06, 0x1b, kTheSprite, kTheWidth, true, kTEAItemId },
+ { 0x06, 0x1c, kTheSprite, kTheBlend, true, kTEAItemId },
{ 0x06, 0x1d, kTheSprite, kTheScriptNum, true, kTEAItemId },
{ 0x06, 0x1e, kTheSprite, kTheMoveableSprite, true, kTEAItemId },
+ { 0x06, 0x1f, kTheSprite, kTheEditableText, true, kTEAItemId },
{ 0x06, 0x20, kTheSprite, kTheScoreColor, true, kTEAItemId },
+ { 0x06, 0x21, kTheSprite, kTheLoc, true, kTEAItemId },
+ { 0x06, 0x22, kTheSprite, kTheRect, true, kTEAItemId },
+
{ 0x07, 0x01, kTheBeepOn, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x02, kTheButtonStyle, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x03, kTheCenterStage, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x04, kTheCheckBoxAccess, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x05, kTheCheckBoxType, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x06, kTheColorDepth, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x07, kTheColorQD, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x08, kTheExitLock, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x09, kTheFixStageSize, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x0a, kTheFullColorPermit, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x0b, kTheImageDirect, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x0c, kTheDoubleClick, kTheNOField, true, kTEANOArgs },
+// { 0x07, 0x0d, ???, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x0e, kTheLastClick, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x0f, kTheLastEvent, kTheNOField, true, kTEANOArgs },
+// { 0x07, 0x10, ???, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x11, kTheLastKey, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x12, kTheLastRoll, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x13, kTheTimeoutLapsed, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x14, kTheMultiSound, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x15, kThePauseState, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x16, kTheQuickTimePresent, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x17, kTheSelEnd, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x18, kTheSelStart, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x19, kTheSoundEnabled, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x1a, kTheSoundLevel, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x1b, kTheStageColor, kTheNOField, true, kTEANOArgs },
+// { 0x07, 0x1c, ????, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x1d, kTheStillDown, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x1e, kTheTimeoutKeyDown, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x1f, kTheTimeoutLength, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x20, kTheTimeoutMouse, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x21, kTheTimeoutPlay, kTheNOField, true, kTEANOArgs },
{ 0x07, 0x22, kTheTimer, kTheNOField, true, kTEANOArgs },
+ { 0x07, 0x23, kThePreLoadRAM, kTheNOField, true, kTEANOArgs },
+
{ 0x08, 0x01, kThePerFrameHook, kTheNOField, false, kTEANOArgs },
{ 0x08, 0x02, kTheCastMembers, kTheNumber, false, kTEANOArgs },
{ 0x08, 0x03, kTheMenus, kTheNumber, false, kTEANOArgs },
+
{ 0x09, 0x01, kTheCast, kTheName, true, kTEAItemId },
{ 0x09, 0x02, kTheCast, kTheText, true, kTEAItemId },
{ 0x09, 0x08, kTheCast, kThePicture, true, kTEAItemId },
@@ -228,13 +256,16 @@ static LingoV4TheEntity lingoV4TheEntity[] = {
{ 0x09, 0x0b, kTheCast, kTheSize, true, kTEAItemId },
{ 0x09, 0x11, kTheCast, kTheForeColor, true, kTEAItemId },
{ 0x09, 0x12, kTheCast, kTheBackColor, true, kTEAItemId },
+
{ 0x0b, 0x03, kTheField, kTheTextStyle, true, kTEAItemId },
{ 0x0b, 0x04, kTheField, kTheTextFont, true, kTEAItemId },
{ 0x0b, 0x05, kTheField, kTheTextHeight, true, kTEAItemId },
{ 0x0b, 0x06, kTheField, kTheTextAlign, true, kTEAItemId },
{ 0x0b, 0x07, kTheField, kTheTextSize, true, kTEAItemId },
+
{ 0x0d, 0x0f, kTheCast, kTheDirectToStage, true, kTEAItemId },
{ 0x0d, 0x10, kTheCast, kTheSound, true, kTEAItemId },
+
{ 0xff, 0, 0, 0, false, kTEANOArgs }
};
More information about the Scummvm-git-logs
mailing list