Skip to Content
The Alchemy Project

struct WEATHER_PARTICLE

A ground particle: an OAM entry linked by depth, its place (16.16 pixels), its delay and its tick count.

Declared in weather.h.

Fields

NameDescription
Uint8unused [4]No code names it.
Uint16y : 8
Uint16affine : 2
Uint16objectMode : 2
Uint16mosaic : 1
Uint16fullColor : 1
Uint16shape : 2
Uint16x : 9
Uint16affineIndex : 5
Uint16size : 2
Uint16tile : 10
Uint16priority : 2
Uint16palette : 4
Uint8unusedAfterPalette [2]No code names it.
FIXEDposX
FIXEDposY
FIXEDposZ
Sint32delay
Uint16timer
Uint8unusedAfterTimer [2]No code names it.

Description

A ground particle: an OAM entry linked by depth, its place (16.16 pixels), its delay and its tick count.

struct WEATHER_PARTICLE

Referenced by fdEffectInitSparkles(), fdEffectUpdateSparkles(), fdGroundParticlesDraw(), fdGroundParticlesStart(), fdGroundParticlesUpdate(), fdMotesStart(), fdMotesUpdate(), fdWeatherStartRain() and fdWeatherUpdateRain().

Definition at line 11 of file weather.h.

Fields in detail

unused

Uint8 unused[4]

No code names it.

y

Uint16 y : 8

affine

Uint16 affine : 2

objectMode

Uint16 objectMode : 2

mosaic

Uint16 mosaic : 1

fullColor

Uint16 fullColor : 1

shape

Uint16 shape : 2

x

Uint16 x : 9

affineIndex

Uint16 affineIndex : 5

size

Uint16 size : 2

tile

Uint16 tile : 10

priority

Uint16 priority : 2

palette

Uint16 palette : 4

unusedAfterPalette

Uint8 unusedAfterPalette[2]

No code names it.

posX

FIXED posX

posY

FIXED posY

posZ

FIXED posZ

delay

Sint32 delay

timer

Uint16 timer

unusedAfterTimer

Uint8 unusedAfterTimer[2]

No code names it.