src/field/screen_transition_shapes.c
The window shapes of WINDOW_TRANSITION_SHAPE, one for each step of its progress (fdScreenTransitionUpdateScanlineTable): a clock wipe, a wedge from the screen's centre (120, 80) that sweeps round from twelve o'clock, over the right half in the first 16 steps and the left half in the next 16.
Macros
| Name | Description | |
|---|---|---|
#define | SPAN_FILL (lines, left, right) {lines, WIN_RANGE(left, right)} | A run of lines all with the window from left to right; (255, 255) is a window that shows nothing. |
#define | SPAN_SLOPE (lines, leftFrom, leftTo, rightFrom, rightTo) | A run of lines whose window edges slide from (leftFrom, rightFrom) toward (leftTo, rightTo). |
Variables
| Name | Description | |
|---|---|---|
TRANSITION_SHAPE | ScreenTransitionShapes [TRANSITION_OPEN] | One shape for each step of the transition before the screen is open. |
Uint8 | ScreenTransitionUnusedBytes [] | Unused: twelve bytes after the shapes that no code names. |
Description
The window shapes of WINDOW_TRANSITION_SHAPE, one for each step of its
progress (fdScreenTransitionUpdateScanlineTable): a clock wipe, a wedge from
the screen's centre (120, 80) that sweeps round from twelve o'clock, over the
right half in the first 16 steps and the left half in the next 16.
Macros in detail
SPAN_FILL
#define SPAN_FILL(lines, left, right) {lines, WIN_RANGE(left, right)}
A run of lines all with the window from left to right; (255, 255) is a window that shows nothing.
Referenced by ScreenTransitionShapes.
Definition at line 10 of file screen_transition_shapes.c.
SPAN_SLOPE
#define SPAN_SLOPE(lines, leftFrom, leftTo, rightFrom, rightTo)
A run of lines whose window edges slide from (leftFrom, rightFrom) toward (leftTo, rightTo).
Referenced by ScreenTransitionShapes.
Definition at line 13 of file screen_transition_shapes.c.
Variables in detail
ScreenTransitionShapes
TRANSITION_SHAPE ScreenTransitionShapes[TRANSITION_OPEN]
One shape for each step of the transition before the screen is open.
Referenced by fdScreenTransitionUpdateScanlineTable().
Definition at line 18 of file screen_transition_shapes.c.
ScreenTransitionUnusedBytes
Uint8 ScreenTransitionUnusedBytes[]
Unused: twelve bytes after the shapes that no code names.
Definition at line 87 of file screen_transition_shapes.c.