Skip to Content
The Alchemy Project

include/scene/orbit.h

A floating Nut's actor and sprite as scFloatNut (shared/floating_nut.c) sees them: ACTOR and SPR with the actor's fields it borrows to keep the spot the Nut sways round and how far through the sway it is, and the sprite's attribute bits it sets one by one.

Included by kalay.c and floating_nut.c.

Structures

NameDescription
structORBITING_MAP_ACTOR_SPRA floating Nut's sprite: SPR a byte at a time, with the attribute bits scFloatNut sets.
structORBITING_MAP_ACTORA floating Nut's actor: its position, the spot it sways around and how far through the sway it is, its sprite and its update function.

Description

A floating Nut's actor and sprite as scFloatNut (shared/floating_nut.c) sees them: ACTOR and SPR with the actor's fields it borrows to keep the spot the Nut sways round and how far through the sway it is, and the sprite's attribute bits it sets one by one.