Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
TrainSpritePart Struct Reference

A part of a sprite: a rectangle of a texture page. More...

#include <menus/gym.h>

Data Fields

u8 u
 
u8 v
 
u8 x
 
u8 y
 
u16 clut
 bits 6-14: the CLUT's row; bit 15: semi-transparent
 
u16 tpage
 bits 0-4: the page's column, 64 pixels each; 5-8: getTPage's abr and tp
 
u16 w
 
u16 h
 
u8 unkC [8]
 nothing reads it: in the files, four s16: 0, flags (bits 0, 14 and 15), 0x1000 and 0x1000
 

Detailed Description

A part of a sprite: a rectangle of a texture page.

A sprite is a count and its parts, and the bank's sprites follow each other.

Definition at line 42 of file gym.h.

Field Documentation

◆ u

u8 TrainSpritePart::u

Definition at line 43 of file gym.h.

Referenced by STGTRAIN_updateSprite().

◆ v

u8 TrainSpritePart::v

Definition at line 44 of file gym.h.

Referenced by STGTRAIN_updateSprite().

◆ x

u8 TrainSpritePart::x

Definition at line 45 of file gym.h.

Referenced by STGTRAIN_updateSprite().

◆ y

u8 TrainSpritePart::y

Definition at line 46 of file gym.h.

Referenced by STGTRAIN_updateSprite().

◆ clut

u16 TrainSpritePart::clut

bits 6-14: the CLUT's row; bit 15: semi-transparent

Definition at line 47 of file gym.h.

Referenced by STGTRAIN_addSpriteQuad(), STGTRAIN_addSpriteSprt(), and STGTRAIN_updateSprite().

◆ tpage

u16 TrainSpritePart::tpage

bits 0-4: the page's column, 64 pixels each; 5-8: getTPage's abr and tp

Definition at line 48 of file gym.h.

Referenced by STGTRAIN_updateSprite().

◆ w

u16 TrainSpritePart::w

Definition at line 49 of file gym.h.

Referenced by STGTRAIN_updateSprite().

◆ h

u16 TrainSpritePart::h

Definition at line 50 of file gym.h.

Referenced by STGTRAIN_updateSprite().

◆ unkC

u8 TrainSpritePart::unkC[8]

nothing reads it: in the files, four s16: 0, flags (bits 0, 14 and 15), 0x1000 and 0x1000

Definition at line 51 of file gym.h.


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