![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Functions | |
static void | platform_on_track_reset (void) |
Despawn all track balls and enter the init action. More... | |
static void | platform_on_track_mario_not_on_platform (void) |
If this platform is the kind that disappears, pause for a while, then begin blinking, and finally reset. More... | |
void | bhv_platform_on_track_init (void) |
Init function for bhvPlatformOnTrack. More... | |
static void | platform_on_track_act_init (void) |
Move to the start waypoint, spawn the first track balls, and enter the wait for mario action. More... | |
static void | platform_on_track_act_wait_for_mario (void) |
Wait for mario to stand on the platform for 20 frames, then begin moving. More... | |
static void | platform_on_track_act_move_along_track (void) |
Move along the track. More... | |
static void | platform_on_track_act_pause_briefly (void) |
Wait 20 frames then continue moving. More... | |
static void | platform_on_track_act_fall (void) |
Fall downward with no terminal velocity, stopping after reaching y = -12k and eventually blinking and disappearing. More... | |
static void | platform_on_track_rock_ski_lift (void) |
Control the rocking of the ski lift. More... | |
void | bhv_platform_on_track_update (void) |
Update function for bhvPlatformOnTrack. More... | |
void | bhv_track_ball_update (void) |
Update function for bhvTrackBall. More... | |
Variables | |
static void * | sPlatformOnTrackCollisionModels [] |
Behavior for bhvPlatformOnTrack and bhvTrackBall. More... | |
static void * | sPlatformOnTrackPaths [] |
Paths for the different instances of these platforms. More... | |
Fall downward with no terminal velocity, stopping after reaching y = -12k and eventually blinking and disappearing.
Doesn't ensure visibility
Move to the start waypoint, spawn the first track balls, and enter the wait for mario action.
Move along the track.
After reaching the end, either start falling, return to the init action, or continue moving back to the start waypoint.
Both oAngleVelYaw and oAngleVelRoll aren't reset until the platform
If the platform is moving counterclockwise upward or
Wait 20 frames then continue moving.
Wait for mario to stand on the platform for 20 frames, then begin moving.
If this platform is the kind that disappears, pause for a while, then begin blinking, and finally reset.
Despawn all track balls and enter the init action.
|
static |
Behavior for bhvPlatformOnTrack and bhvTrackBall.
The platform spawns up to 5 track balls at a time, which then despawn themselves as the platform moves past them. Collision models for the different types of platforms.
|
static |
Paths for the different instances of these platforms.