A palette cycle: a run of up to 16 background palette colours, saved and rotated by one colour every delay + 1 frames. More...
#include <graphics/palqueue.h>
Data Fields | |
| u16 * | source |
| the first colour of the run, in BG palette RAM | |
| u16 | position |
| colours rotated so far, 0 to count - 1 | |
| u16 | timer |
| frames until the next rotation | |
| s16 | delay |
| frames; the timer restarts from it | |
| u16 | count |
| colours in the run | |
| u16 | colors [16] |
| the run's colours as saved when the cycle was added | |
A palette cycle: a run of up to 16 background palette colours, saved and rotated by one colour every delay + 1 frames.
Definition at line 13 of file palqueue.h.
| u16* PaletteSnapshot::source |
the first colour of the run, in BG palette RAM
Definition at line 14 of file palqueue.h.
Referenced by PaletteQueue_Add(), PaletteQueue_Initialize(), and PaletteQueue_StepCycles().
| u16 PaletteSnapshot::position |
colours rotated so far, 0 to count - 1
Definition at line 15 of file palqueue.h.
Referenced by PaletteQueue_Add(), PaletteQueue_Initialize(), and PaletteQueue_StepCycles().
| u16 PaletteSnapshot::timer |
frames until the next rotation
Definition at line 16 of file palqueue.h.
Referenced by PaletteQueue_Add(), PaletteQueue_Initialize(), and PaletteQueue_StepCycles().
| s16 PaletteSnapshot::delay |
frames; the timer restarts from it
Definition at line 17 of file palqueue.h.
Referenced by PaletteQueue_Add(), PaletteQueue_Initialize(), and PaletteQueue_StepCycles().
| u16 PaletteSnapshot::count |
colours in the run
Definition at line 18 of file palqueue.h.
Referenced by PaletteQueue_Add(), PaletteQueue_Initialize(), and PaletteQueue_StepCycles().
| u16 PaletteSnapshot::colors[16] |
the run's colours as saved when the cycle was added
Definition at line 19 of file palqueue.h.
Referenced by PaletteQueue_Add(), PaletteQueue_Initialize(), and PaletteQueue_StepCycles().