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
| Name | Description | |
|---|---|---|
struct | ORBITING_MAP_ACTOR_SPR | A floating Nut's sprite: SPR a byte at a time, with the attribute bits scFloatNut sets. |
struct | ORBITING_MAP_ACTOR | A 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.