Skip to content
Permalink
Browse files

DIRECTOR: LINGO: Added parsing for 'the volume of sound <n>'

  • Loading branch information
sev- committed Jan 13, 2020
1 parent 66455b6 commit 878b4e944d51e2f1df166038ef754e53e146bdcc
Showing with 4 additions and 0 deletions.
  1. +3 −0 engines/director/lingo/lingo-the.cpp
  2. +1 −0 engines/director/lingo/lingo-the.h
@@ -120,6 +120,7 @@ TheEntity entities[] = {
{ kTheShiftDown, "shiftDown", false, 2 }, // D2 f
{ kTheSoundEnabled, "soundEnabled", false, 2 }, // D2 p
{ kTheSoundLevel, "soundLevel", false, 2 }, // D2 p
{ kTheSoundEntity, "sound", true, 4 }, // D4
{ kTheSprite, "sprite", true, 2 }, // D4 p
{ kTheSqrt, "sqrt", false, 2 }, // D2 f
{ kTheStage, "stage", false, 4 }, // D4 p
@@ -260,6 +261,8 @@ TheEntityField fields[] = {
{ kTheTime, "abbrev", kTheAbbr, 3 },// D3 f
{ kTheTime, "abbr", kTheAbbr, 3 },// D3 f

{ kTheSoundEntity,"volume", kTheVolume, 4 },// D4 p

{ kTheNOEntity, NULL, kTheNOField, 0 }
};

@@ -115,6 +115,7 @@ enum TheEntityType {
kTheSelEnd,
kTheSelStart,
kTheShiftDown,
kTheSoundEntity,
kTheSoundEnabled,
kTheSoundLevel,
kTheSprite,

0 comments on commit 878b4e9

Please sign in to comment.
You can’t perform that action at this time.