V-Gears 0
Free Final Fantasy VII engine.
VGears::BackgroundFile::SpriteData Struct Reference

Data for sprites. More...

#include <VGearsBackgroundFile.h>

Collaboration diagram for VGears::BackgroundFile::SpriteData:

Public Attributes

Pixel dst
 Pixel destination. More...
 
uint16 unknown_04 [2]
 Unused data. More...
 
Pixel src
 Pixel source. More...
 
Pixel src2
 Pixel alternate source. More...
 
uint16 width
 Sprite width. More...
 
uint16 height
 Sprite height. More...
 
uint16 palette_page
 Palete page for the sprite. More...
 
uint16 depth
 Sprite depth (Z-index). More...
 
uint8 animation_id
 Animation ID of the sprite. More...
 
uint8 animation_frame
 Animation frame of the sprite. More...
 
bool has_blending [2]
 Indicates if the sprite uses color blending. More...
 
uint16 blending
 The type of blending used. More...
 
uint16 data_page
 The page with the sprite data. More...
 
uint16 data_page2
 Page with alternate sprite data. More...
 
uint16 colour_depth
 Color depth. More...
 
Ogre::Vector3 src_big
 Sprite source. More...
 

Detailed Description

Data for sprites.

Member Data Documentation

◆ animation_frame

uint8 VGears::BackgroundFile::SpriteData::animation_frame

Animation frame of the sprite.

◆ animation_id

uint8 VGears::BackgroundFile::SpriteData::animation_id

Animation ID of the sprite.

◆ blending

uint16 VGears::BackgroundFile::SpriteData::blending

The type of blending used.

◆ colour_depth

uint16 VGears::BackgroundFile::SpriteData::colour_depth

Color depth.

Do not use. Use texture page depth instead.

◆ data_page

uint16 VGears::BackgroundFile::SpriteData::data_page

The page with the sprite data.

◆ data_page2

uint16 VGears::BackgroundFile::SpriteData::data_page2

Page with alternate sprite data.

Used for special effects pages. When data_page2 != 0, it must be used instead of {

See also
data_page}.

◆ depth

uint16 VGears::BackgroundFile::SpriteData::depth

Sprite depth (Z-index).

◆ dst

Pixel VGears::BackgroundFile::SpriteData::dst

Pixel destination.

◆ has_blending

bool VGears::BackgroundFile::SpriteData::has_blending[2]

Indicates if the sprite uses color blending.

◆ height

uint16 VGears::BackgroundFile::SpriteData::height

Sprite height.

◆ palette_page

uint16 VGears::BackgroundFile::SpriteData::palette_page

Palete page for the sprite.

◆ src

Pixel VGears::BackgroundFile::SpriteData::src

Pixel source.

◆ src2

Pixel VGears::BackgroundFile::SpriteData::src2

Pixel alternate source.

Used for special effects pages, when data_page2 != 0, it must be used instead of {

See also
src}.

◆ src_big

Ogre::Vector3 VGears::BackgroundFile::SpriteData::src_big

Sprite source.

For PC use only. z = unknown, x = srcX / 16 * 625000, y = srcY / 16 * 625000

◆ unknown_04

uint16 VGears::BackgroundFile::SpriteData::unknown_04[2]

Unused data.

◆ width

uint16 VGears::BackgroundFile::SpriteData::width

Sprite width.


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