The display scroll work, the HBlank scroll work and its wave. More...
Go to the source code of this file.
Data Structures | |
| struct | DisplayScrollWork |
| The wavy background's work: two pages of BG1 to BG3 scroll offsets for each of the 160 scanlines, and the sine wave that bends them on each axis. More... | |
Functions | |
| STATIC_ASSERT (sizeof(struct DisplayScrollWork)==0xf20) | |
| STATIC_ASSERT (offsetof(struct DisplayScrollWork, page)==0xf00) | |
| STATIC_ASSERT (offsetof(struct DisplayScrollWork, freqX)==0xf08) | |
Variables | |
| struct DisplayScrollWork * | gHBlankScrollWork |
| const s16 | gDisplayScroll_WaveSine [] |
| Sine times 4096, 256 steps to a turn. | |
The display scroll work, the HBlank scroll work and its wave.
Definition in file scroll.h.
| STATIC_ASSERT | ( | sizeof(struct DisplayScrollWork) | = =0xf20 | ) |
| STATIC_ASSERT | ( | offsetof(struct DisplayScrollWork, page) | = =0xf00 | ) |
| STATIC_ASSERT | ( | offsetof(struct DisplayScrollWork, freqX) | = =0xf08 | ) |
|
extern |
Referenced by DisplayScroll_ArmHBlankDma(), DisplayScroll_BuildAndSwapHBlankPage(), and STATIC_ASSERT().
|
extern |
Sine times 4096, 256 steps to a turn.
Definition at line 347 of file fxdata.c.
Referenced by DisplayScroll_BuildAndSwapHBlankPage(), and STATIC_ASSERT().