-
Notifications
You must be signed in to change notification settings - Fork 19
Scumm 6 strings
In SCUMM strings can contain some escapes to code a few special things. Escapes start with 0xFF followed by a byte which codes the escape type, and are generally followed by some parameters.
Expands to the integer value of the variable at the given address.
Expands to the verb referenced in the variable at the given address.
Expands to the name of the object or actor referenced in the variable at the given address.
Expands to the string contained in the array referenced in the variable at the given address.
Starts the given animation. Only works on the talking actor, if any.
Plays a sound sample, mostly used for voices. This escape takes quite a lot of arguments. To avoid yet another special case when computing the string length, etc., the escape is repeated several times to code two 32 bits values (LE). The first value is the position of the sample in the sound file. The second value is the size of the VCTL header found before the audio data.