Skip to Content
The Alchemy Project

struct SPRING_TOSS_MOTION

The tossed coin or medal, as its last four positions for the trail, its velocity and the ticks the prize rings still pull it.

Declared in tolbi_games.c.

Fields

NameDescription
Uint8unused [2]nothing reads or writes it
Sint16launchTicksticks since Isaac tossed it, -1 before
VECTOR3trail [4]16.16 fixed-point pixels
VECTOR3shadow
VECTOR3velocity16.16 fixed-point pixels per tick
Sint32pullTicks

Description

The tossed coin or medal, as its last four positions for the trail, its velocity and the ticks the prize rings still pull it.

struct SPRING_TOSS_MOTION

Referenced by scTolbiSpringInitTossSimulation(), scTolbiSpringRunToss(), scTolbiSpringUpdateTossSimulation() and Toss.

Definition at line 338 of file tolbi_games.c.

Fields in detail

unused

Uint8 unused[2]

nothing reads or writes it

launchTicks

Sint16 launchTicks

ticks since Isaac tossed it, -1 before

trail

VECTOR3 trail[4]

16.16 fixed-point pixels

shadow

VECTOR3 shadow

velocity

VECTOR3 velocity

16.16 fixed-point pixels per tick

pullTicks

Sint32 pullTicks