Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Functions | Variables
ttc_rotating_solid.inc.c File Reference

Functions

void bhv_ttc_rotating_solid_init (void)
 Init function for bhvTTCRotatingSolid. More...
 
void bhv_ttc_rotating_solid_update (void)
 Update function for bhvTTCRotatingSolid. More...
 

Variables

static voidsTTCRotatingSolidCollisionModels []
 Behavior for bhvTTCRotatingSolid, which are the rotating cube and triangular prism. More...
 
static u8 sTTCRotatingSolidInitialDelays []
 The number of frames to wait before rotating for the first time. More...
 

Function Documentation

◆ bhv_ttc_rotating_solid_init()

void bhv_ttc_rotating_solid_init ( void  )

Init function for bhvTTCRotatingSolid.

◆ bhv_ttc_rotating_solid_update()

void bhv_ttc_rotating_solid_update ( void  )

Update function for bhvTTCRotatingSolid.

Wait a bit, dip down and back up, play a sound, then rotate.

Variable Documentation

◆ sTTCRotatingSolidCollisionModels

void* sTTCRotatingSolidCollisionModels[]
static
Initial value:
= {
}
u8 ttc_seg7_collision_07014F70[]
u8 ttc_seg7_collision_07015008[]

Behavior for bhvTTCRotatingSolid, which are the rotating cube and triangular prism.

The collision models for cube and triangular prism, respectively.

◆ sTTCRotatingSolidInitialDelays

u8 sTTCRotatingSolidInitialDelays[]
static
Initial value:
= {
120,
40,
0,
0,
}

The number of frames to wait before rotating for the first time.