Jazz2::Scripting::Legacy::jjPARTICLEPIXEL struct

Per-particle data for a pixel particle.

Public functions

auto get_color(std::int32_t i) const -> std::uint8_t partially supported
Returns the palette color of one pixel of the particle.
auto set_color(std::int32_t i, std::uint8_t value) -> std::uint8_t
Sets the palette color of one pixel of the particle.

Public variables

std::uint8_t size
Size of the pixel cluster.

Function documentation

std::uint8_t Jazz2::Scripting::Legacy::jjPARTICLEPIXEL::get_color(std::int32_t i) const

Returns the palette color of one pixel of the particle.

Row by row, a square of size + 1 pixels on each side.