struct TITLE_SCROLL_STEP
One step of the clouds' scroll (mnTitleRunScrollStep, TITLE_STEP).
Declared in title_intro.c.
Fields
| Name | Description | |
|---|---|---|
Sint32 | ticks | how long the step lasts |
Sint32 | speed [4] | Pixels a tick: BG1's y and x, then BG2's y and x. |
Uint32 | mask [4] | For each speed, the tick count bits that must be clear for it to move; 0 moves it every tick. |
Description
One step of the clouds' scroll (mnTitleRunScrollStep, TITLE_STEP).
struct TITLE_SCROLL_STEP
Referenced by mnTitleIntroScrollClouds() and mnTitleRunScrollStep().
Definition at line 31 of file title_intro.c.
Fields in detail
ticks
Sint32 ticks
how long the step lasts
speed
Sint32 speed[4]
Pixels a tick: BG1's y and x, then BG2's y and x.
mask
Uint32 mask[4]
For each speed, the tick count bits that must be clear for it to move; 0 moves it every tick.