OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
TileRing Struct Reference

One ring: fill it with tileRingInit(); the fields are read-only. More...

#include <tilering.h>

Public Attributes

u16 FAR * char_of
u16 chars
u16 chr_vram
u16 col_buf [32]
u16 cursor
u16 cx
u16 cy
u16 filling
u16 first_char
u16 height
u16 last_chars
 Characters noted by the last tileRingUpdate().
u16 last_entries
 Queue entries noted by the last tileRingUpdate() (characters and tilemap).
const TileRingMap * map
u8 FAR * refs
u16 refused
 Pushes the VRAM queue refused since tileRingInit() (queue full): 0 on a healthy run.
u16 resident
u16 row_buf [64]
u16 rows_per_part
u16 FAR * slot_of
u16 slots
u8 FAR * staging
u16 starved
 Characters that found no free slot since tileRingInit(): 0 on a healthy run (the ring is smaller than the window needs).
u16 tilemap
u16 width
u16 win_h
u16 win_w
u16 worst_col
u16 worst_row
u16 worst_window

Detailed Description

One ring: fill it with tileRingInit(); the fields are read-only.

Member Data Documentation

◆ char_of

u16 FAR* TileRing::char_of

slots words: the character of each slot

◆ chars

u16 TileRing::chars

map size in characters; distinct characters

◆ chr_vram

u16 TileRing::chr_vram

VRAM word address of slot 0's character

◆ col_buf

u16 TileRing::col_buf[32]

◆ cursor

u16 TileRing::cursor

the next slot looked at for a new character

◆ cx

u16 TileRing::cx

◆ cy

u16 TileRing::cy

the window's top-left cell

◆ filling

u16 TileRing::filling

◆ first_char

u16 TileRing::first_char

character number of slot 0 in the BG

◆ height

u16 TileRing::height

◆ last_chars

u16 TileRing::last_chars

Characters noted by the last tileRingUpdate().

◆ last_entries

u16 TileRing::last_entries

Queue entries noted by the last tileRingUpdate() (characters and tilemap).

◆ map

const TileRingMap* TileRing::map

◆ refs

u8 FAR* TileRing::refs

slots bytes: cells of the window on each slot

◆ refused

u16 TileRing::refused

Pushes the VRAM queue refused since tileRingInit() (queue full): 0 on a healthy run.

◆ resident

u16 TileRing::resident

slots shown by at least one cell of the window

◆ row_buf

u16 TileRing::row_buf[64]

◆ rows_per_part

u16 TileRing::rows_per_part

◆ slot_of

u16 FAR* TileRing::slot_of

chars words: the slot of each character

◆ slots

u16 TileRing::slots

slots in the ring

◆ staging

u8 FAR* TileRing::staging

NULL: direct mode

◆ starved

u16 TileRing::starved

Characters that found no free slot since tileRingInit(): 0 on a healthy run (the ring is smaller than the window needs).

◆ tilemap

u16 TileRing::tilemap

VRAM word address of the 64x32 tilemap

◆ width

u16 TileRing::width

◆ win_h

u16 TileRing::win_h

the window, in characters

◆ win_w

u16 TileRing::win_w

◆ worst_col

u16 TileRing::worst_col

◆ worst_row

u16 TileRing::worst_row

◆ worst_window

u16 TileRing::worst_window

the converter's figures


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