Skip to Content
The Alchemy Project

struct CLOCK_WORK

The offering's countdown clock, MM:SS:T drawn as sprites: the digits that change shrink and grow back each second as it ticks.

Declared in gabomba_statue.c.

Fields

NameDescription
Uint8 *tilesthe digit sprite sheet
Uint8 *digitsthe five digit pictures, as loaded
Uint8timeSecondAgo [8]MM:SS:T a second before now
Uint8timeNow [8]
Uint8timeShown [8]the time the digit pictures show
SPR_VIEWoam [8]
Sint32tileEntry
Sint32timer
Uint8ringing
Uint8shown

Description

The offering's countdown clock, MM:SS:T drawn as sprites: the digits that change shrink and grow back each second as it ticks.

struct CLOCK_WORK

Referenced by scGabombaStatueCountDown(), scGabombaStatueCountDownShowingClock(), scGabombaStatueDrawClock(), scGabombaStatueRestartClock(), scGabombaStatueStartClock(), scGabombaStatueStopClock() and scGabombaStatueTickClock().

Definition at line 4331 of file gabomba_statue.c.

Fields in detail

tiles

Uint8 *tiles

the digit sprite sheet

digits

Uint8 *digits

the five digit pictures, as loaded

timeSecondAgo

Uint8 timeSecondAgo[8]

MM:SS:T a second before now

timeNow

Uint8 timeNow[8]

timeShown

Uint8 timeShown[8]

the time the digit pictures show

oam

SPR_VIEW oam[8]

tileEntry

Sint32 tileEntry

timer

Sint32 timer

ringing

Uint8 ringing

shown

Uint8 shown