Skip to Content
The Alchemy Project

include/scene/script_check_spheres_overlap.h

Whether two spheres overlap (fdCheckSpheresOverlap), from a script.

Included by mars_lighthouse_entrance.c, mars_lighthouse_hall.c, mars_lighthouse_star_room.c, prox.c, settlements.c and tundaria_tower.c.

Functions

NameDescription
static inline Sint32scScriptCheckSpheresOverlap (Sint32 *a, Sint32 radiusA, Sint32 *b, Sint32 radiusB)Whether two spheres overlap (fdCheckSpheresOverlap), from a script.

Description

Whether two spheres overlap (fdCheckSpheresOverlap), from a script.

Functions in detail

scScriptCheckSpheresOverlap

static inline Sint32 scScriptCheckSpheresOverlap(Sint32 *a, Sint32 radiusA, Sint32 *b, Sint32 radiusB)

References fdCheckSpheresOverlap() and Sint32.

Referenced by fdLeaderSlideOnIce(), fdLeaderSlideOnIceAhead(), KNOCK_BACK() and scLeaderSlideOnIceFromEdge().

Definition at line 9 of file script_check_spheres_overlap.h.