1#ifndef ALCHEMY_OBJECT_EFFECT_H
2#define ALCHEMY_OBJECT_EFFECT_H
26#define FIELD_WEATHER_PARTICLE_COUNT 32
Animated sprites: their layers, frames and colour modes, and the resource slots they draw from.
The edition's language, for C to compare (LANGUAGE == LANGUAGE_GERMAN).
struct FadeOverlayWork * gActorEffectWork
#define FIELD_WEATHER_PARTICLE_COUNT
struct GroundParticleWork * gParticleWork
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
The hardware sprite attributes one part of an animated sprite (its image or its shadow) is drawn with...
The fade overlay draws one mark on each side of its tracked actor.
struct FieldActor * actor
the actor tracked; null draws nothing
struct AnimationSpritePart marks[2]
The left and right marks: 16-pixel-wide semi-transparent sprites drawn where the ground beside the ac...
A field actor: a person or thing on the field with a position, motion toward a target,...
Work slot 29 while ground particles, motes or sparkles run.
struct GroundParticle particles[FIELD_WEATHER_PARTICLE_COUNT]
s32 tileBase
Their first tile in VRAM.
s32 stopped
Prevent new sparkle bursts while set.
s32 unk408
Unused by the weather effects.
s32 entry
Resource entry holding the effect's tiles.
One weather particle: OAM attributes followed by its world position.
u16 fullColor
Not named by the effects.
u8 unk00[4]
Cleared with the attributes; never read by the effects.
u16 timer
Frames left; zero frees the particle.
s32 delay
Motes: height risen; sparkles: phase within a burst.
s32 posY
The ground's height there.
u8 attr3[2]
OAM attribute 3, cleared with the others.
u16 y
The OAM entry's attributes 0 to 2: the start routines write them whole as semi-transparent,...
u16 mosaic
Not named by the effects.
u16 size
From the ground particle frame; motes, sparkles: 1.
u16 palette
13; not named by the effects.
u16 affine
Not named by the effects.
u16 blendMode
1, semi-transparent; not named by the effects.
u16 tile
The work's tileBase plus the frame's tile.
s32 posZ
World position, in 16.16 pixels.
u16 affineIndex
Sparkles: 8 on alternate frames, else 0.
u16 shape
From the ground particle frame; motes, sparkles: 0.
s32 posX
World position, in 16.16 pixels.
The integer types, TRUE, UNUSED and the fixed-address macros.