ScummVM API documentation
Agi::Sprite Struct Reference

#include <sprite.h>

Public Attributes

uint16 givenOrderNr
 
uint16 sortOrder
 
ScreenObjEntryscreenObjPtr
 
int16 xPos
 
int16 yPos
 
int16 xSize
 
int16 ySize
 
byte * backgroundBuffer
 

Detailed Description

Sprite structure. This structure holds information on visible and priority data of a rectangular area of the AGI screen. Sprites are chained in two circular lists, one for updating and other for non-updating sprites.

Member Data Documentation

◆ screenObjPtr

ScreenObjEntry* Agi::Sprite::screenObjPtr

pointer to view table entry

◆ xPos

int16 Agi::Sprite::xPos

x coordinate of the sprite

◆ yPos

int16 Agi::Sprite::yPos

y coordinate of the sprite

◆ xSize

int16 Agi::Sprite::xSize

width of the sprite

◆ ySize

int16 Agi::Sprite::ySize

height of the sprite

◆ backgroundBuffer

byte* Agi::Sprite::backgroundBuffer

buffer to store background data


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