Skip to Content
The Alchemy Project

struct TILESET_ANIM

One of the 16 tileset animations, which copy tiles into VRAM by script (fdTilesetAnimationUpdate): groups of four halfwords, the source tile, the count, the destination tile and the ticks to wait.

Declared in map_grid.h.

Fields

NameDescription
const Uint16 *startwhere 0xffff loops back to; null for none
const Uint16 *cursorthe next group
Uint16timerticks left of the current wait
Uint16pausednonzero, set by a scene, holds the animation

Description

One of the 16 tileset animations, which copy tiles into VRAM by script (fdTilesetAnimationUpdate): groups of four halfwords, the source tile, the count, the destination tile and the ticks to wait.

struct TILESET_ANIM

Referenced by fdMapScreenShow(), fdTilesetAnimationPause(), fdTilesetAnimationResume() and fdTilesetAnimationStartAll().

Definition at line 90 of file map_grid.h.

Fields in detail

start

const Uint16 *start

where 0xffff loops back to; null for none

cursor

const Uint16 *cursor

the next group

timer

Uint16 timer

ticks left of the current wait

paused

Uint16 paused

nonzero, set by a scene, holds the animation