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
| Name | Description | |
|---|---|---|
Uint8 | unused [4] | No code names it. |
Uint16 | y : 8 | |
Uint16 | affine : 2 | |
Uint16 | objectMode : 2 | |
Uint16 | mosaic : 1 | |
Uint16 | fullColor : 1 | |
Uint16 | shape : 2 | |
Uint16 | x : 9 | |
Uint16 | affineIndex : 5 | |
Uint16 | size : 2 | |
Uint16 | tile : 10 | |
Uint16 | priority : 2 | |
Uint16 | palette : 4 | |
Uint8 | unusedAfterPalette [2] | No code names it. |
FIXED | posX | |
FIXED | posY | |
FIXED | posZ | |
Sint32 | delay | |
Uint16 | timer | |
Uint8 | unusedAfterTimer [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.