Skip to Content
The Alchemy Project

struct WINDOW_ZOOM_SCRATCH

Scratch values for a stage of a window's zoom, as in The Broken Seal: the scaled part of a side, the scaled duration and their ratio.

Declared in window_borders.c.

Fields

NameDescription
FIXEDscaledPartzoom stage (or stages left) times a side in tiles
FIXEDscaledDurationtwice the zoom's duration
FIXEDresultscaledPart / scaledDuration, in tiles

Description

Scratch values for a stage of a window's zoom, as in The Broken Seal: the scaled part of a side, the scaled duration and their ratio.

struct WINDOW_ZOOM_SCRATCH

Referenced by mnWindowDrawZoomBorder().

Definition at line 77 of file window_borders.c.

Fields in detail

scaledPart

FIXED scaledPart

zoom stage (or stages left) times a side in tiles

scaledDuration

FIXED scaledDuration

twice the zoom's duration

result

FIXED result

scaledPart / scaledDuration, in tiles