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.
 
int16_t x
 X-coordinate of sprite, corrected for early clock.
 
byte colorAttrib
 Bit 3..0 are index in palette.
 

Detailed Description

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

Definition at line 33 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 45 of file SpriteChecker.hh.

Referenced by openmsx::SpriteConverter::drawMode2().

◆ pattern

SpritePattern openmsx::SpriteChecker::SpriteInfo::pattern

Pattern of this sprite line, corrected for magnification.

Definition at line 36 of file SpriteChecker.hh.

Referenced by openmsx::SpriteConverter::drawMode2().

◆ x

int16_t openmsx::SpriteChecker::SpriteInfo::x

X-coordinate of sprite, corrected for early clock.

Definition at line 39 of file SpriteChecker.hh.

Referenced by openmsx::SpriteConverter::drawMode2().


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