1#ifndef ALCHEMY_FXBLEND_H
2#define ALCHEMY_FXBLEND_H
STATIC_ASSERT, a compile-time check that emits nothing.
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
The storm's lightning work: the colours it flashes between and their difference, the countdown to the...
s16 loud
nonzero plays the louder thunderclap, SE_172 for SE_171
u8 unk1f86[2]
not named by TBS code
s16 from[0x540]
The storm's dark colours (PALETTE_TRANSFORM_WARM), as the colour buffer's B, G and R channels: each f...
s16 delta[0x540]
the 12-frame steps from to back to from
s16 to[0x540]
the lit colours (PALETTE_TRANSFORM_PALE), as from
s16 enabled
Nonzero arms the next flash a random 51 to 549 frames after each, with a thunderclap.
s16 timer
Frames to the next flash, which comes in three, 5 frames apart; below 0 stops the lightning.
The integer types, TRUE, UNUSED and the fixed-address macros.