openMSX
Public Attributes | List of all members
openmsx::SpriteChecker::SpriteInfo Struct Reference

Contains all the information to draw a line of a sprite. More...

#include <SpriteChecker.hh>

Public Attributes

SpritePattern pattern
 Pattern of this sprite line, corrected for magnification. More...
 
int16_t x
 X-coordinate of sprite, corrected for early clock. More...
 
byte colorAttrib
 Bit 3..0 are index in palette. More...
 

Detailed Description

Contains all the information to draw a line of a sprite.

Definition at line 30 of file SpriteChecker.hh.

Member Data Documentation

◆ colorAttrib

byte openmsx::SpriteChecker::SpriteInfo::colorAttrib

Bit 3..0 are index in palette.

Bit 6 is 0 for sprite mode 1 like behaviour, or 1 for OR-ing of sprite colors. Other bits are undefined.

Definition at line 42 of file SpriteChecker.hh.

Referenced by openmsx::SpriteConverter< Pixel >::drawMode1(), openmsx::SpriteConverter< Pixel >::drawMode2(), and openmsx::SpriteChecker::reset().

◆ pattern

SpritePattern openmsx::SpriteChecker::SpriteInfo::pattern

Pattern of this sprite line, corrected for magnification.

Definition at line 33 of file SpriteChecker.hh.

Referenced by openmsx::SpriteConverter< Pixel >::drawMode1(), openmsx::SpriteConverter< Pixel >::drawMode2(), and openmsx::SpriteChecker::reset().

◆ x

int16_t openmsx::SpriteChecker::SpriteInfo::x

X-coordinate of sprite, corrected for early clock.

Definition at line 36 of file SpriteChecker.hh.

Referenced by openmsx::SpriteConverter< Pixel >::drawMode1(), openmsx::SpriteConverter< Pixel >::drawMode2(), and openmsx::SpriteChecker::reset().


The documentation for this struct was generated from the following file: