Dialogue picture options
ScriptDialogueBitmapFlags · 16-bit little-endian word, last operand of the
picture command of
Dialogue screen
Dialogue commands · Virtual machine
These combinable bits change how a dialogue picture reaches the screen: one keeps the current screen content as background, the other shows the picture with a transition. The drawing routine tests only these two bits and ignores the others.1
The transition is a pixel dissolve: the picture is copied to the screen one pixel at a time, in a shuffled order, until the whole frame area has appeared. It has no timing of its own, so its duration depends on the speed of the machine.
typedef enum ScriptDialogueBitmapFlags {
SCRIPT_DIALOGUE_BITMAP_KEEP_BACKGROUND = 0x0001, /* On a new picture with frame 0, keep the screen content instead of drawing BORDER. */
SCRIPT_DIALOGUE_BITMAP_TRANSITION = 0x0002 /* Draw on the screen, not the work page, through the pixel dissolve. */
} ScriptDialogueBitmapFlags;
The frame operand is described in dialogue picture frames. The reference instructions use the values 0 (208 times), 1 (20) and 2 (9).
Sources
Locations refer to the game executable reference.