struct SCREEN_TRANSITION_DISSOLVE_STATE
The screen transition state as the dissolve reads it: the solid tile as bytes, two 4-bit pixels to a byte, so that it can set one pixel at a time.
Declared in display_transition.h.
Fields
| Name | Description | |
|---|---|---|
Uint16 | pages [2] [SCREEN_TRANSITION_PAGE_LENGTH] | As SCREEN_TRANSITION_STATE's; the dissolve leaves them. |
Uint8 | solidTilePixels [34] | SCREEN_TRANSITION_STATE's solidTile and mode: the dissolve sets two more of the tile's pixels each tick and copies the tile to BG character block 0. |
Uint16 | value | The progress, moved from start to end over duration ticks: bit 5 says whether the dissolve fills or clears, the low 5 bits how far it is. |
Sint32 | centerX | As SCREEN_TRANSITION_STATE's; the dissolve leaves them. |
Sint32 | centerY | |
Sint16 | insideLayers | |
Sint16 | outsideLayers | |
Uint8 | unused | |
Uint8 | page | SCREEN_TRANSITION_STATE's page: the dissolve flips it each tick, though nothing reads it while the dissolve runs. |
Sint8 | start | The value's first step. |
Sint8 | end | The value's last step. |
Sint8 | duration | Ticks; 0 when the value is not moving. |
Sint8 | step | Ticks. |
Description
The screen transition state as the dissolve reads it: the solid tile as bytes, two 4-bit pixels to a byte, so that it can set one pixel at a time.
struct SCREEN_TRANSITION_DISSOLVE_STATE
Referenced by fdScreenTransitionUpdateDissolve().
Definition at line 18 of file display_transition.h.
Fields in detail
pages
Uint16 pages[2] [SCREEN_TRANSITION_PAGE_LENGTH]
As
SCREEN_TRANSITION_STATE's;
the dissolve leaves them.
solidTilePixels
Uint8 solidTilePixels[34]
SCREEN_TRANSITION_STATE's
solidTile and mode: the
dissolve sets two more of
the tile's pixels each tick
and copies the tile to BG
character block 0.
value
Uint16 value
The progress, moved from start to end over duration ticks: bit 5 says whether the dissolve fills or clears, the low 5 bits how far it is.
centerX
Sint32 centerX
As SCREEN_TRANSITION_STATE's; the dissolve leaves them.
centerY
Sint32 centerY
insideLayers
Sint16 insideLayers
outsideLayers
Sint16 outsideLayers
unused
Uint8 unused
page
Uint8 page
SCREEN_TRANSITION_STATE's page: the dissolve flips it
each tick, though nothing reads it while the dissolve
runs.
start
Sint8 start
The value's first step.
end
Sint8 end
The value's last step.
duration
Sint8 duration
Ticks; 0 when the value is not moving.
step
Sint8 step
Ticks.