Skip to Content
The Alchemy Project

include/scene/tundaria_tower.h

Declarations Tundaria Tower shares with Dehkan Plateau and Magma Rock's inside, whose pillars and rubble it copies: the field engine calls their overlays make, some through their own import rows.

Included by dehkan_plateau.c, magma_rock_inside.c and tundaria_tower.c.

Functions

NameDescription
Sint32scMapMetatileSetAttributes (Uint32 layer, Sint32 x, Sint32 z, Sint32 value)Replaces a metatile's collision code and attributes on a layer, or in the metatile buffer for a layer past the overhead one, and returns the old value.
voidscFieldEffectSpawn (Sint32 x, Sint32 y, Sint32 z, Sint32 velocityX, Sint32 velocityY, Sint32 velocityZ, Uint32 flags, const EFFECT_OPTIONS *options)Spawns a field effect at x, y, z moving at the velocity given, its type, scale, palette, priority, script, rotation, spin and update chosen by the EFFECT_USE_ flags from the options.
voidsyImportLeaderStopMoving (void)Stops the leader where it stands (fdLeaderStopMoving, through the overlay's own import row).
voidscRockSpawn (Sint32 x, Sint32 y, Sint32 z, Sint32 ticks)Throws count rocks from a 16.16 point, as Burst breaks stone: each starts 8 to 16 pixels out at a random angle and flies up at 5 pixels a tick and out along that angle at 2 to 4.
static inline voidscTundariaTowerFadeFrom (Sint32 color, Sint32 mode)fdPaletteFadeSetSource, under the name the tower's fades call it by.

Description

Declarations Tundaria Tower shares with Dehkan Plateau and Magma Rock's inside, whose pillars and rubble it copies: the field engine calls their overlays make, some through their own import rows.

Functions in detail

syImportLeaderStopMoving

void syImportLeaderStopMoving(void)

Stops the leader where it stands (fdLeaderStopMoving, through the overlay's own import row).

Referenced by scGabombaStatueHopOffCog().

Definition at line 29 of file tundaria_tower.h.

scTundariaTowerFadeFrom

static inline void scTundariaTowerFadeFrom(Sint32 color, Sint32 mode)

fdPaletteFadeSetSource, under the name the tower's fades call it by.

References fdPaletteFadeSetSource() and Sint32.

Referenced by scTundariaTowerRefluxAppears().

Definition at line 34 of file tundaria_tower.h.