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

Functions

void bhv_ttc_cog_init (void)
 Init function for bhvTTCCog. More...
 
void bhv_ttc_cog_update (void)
 Update function for bhvTTCCog. More...
 

Variables

static voidsTTCCogCollisionModels []
 Behavior for bhvTTCCog. More...
 
static s8 sTTCCogDirections [] = { 1, -1 }
 The direction that the cog moves on non-random settings. More...
 
static s16 sTTCCogNormalSpeeds [] = { 200, 400 }
 The speed that the cog moves on the slow and fast settings, respectively. More...
 

Function Documentation

◆ bhv_ttc_cog_init()

void bhv_ttc_cog_init ( void  )

Init function for bhvTTCCog.

◆ bhv_ttc_cog_update()

void bhv_ttc_cog_update ( void  )

Update function for bhvTTCCog.

Variable Documentation

◆ sTTCCogCollisionModels

void* sTTCCogCollisionModels[]
static
Initial value:
= {
}
u8 ttc_seg7_collision_07015650[]
u8 ttc_seg7_collision_07015584[]

Behavior for bhvTTCCog.

This includes both the hexagonal cogs and the triangular prisms that rotate around the y axis. Collision model for hexagon and triangle, respectively.

◆ sTTCCogDirections

s8 sTTCCogDirections[] = { 1, -1 }
static

The direction that the cog moves on non-random settings.

◆ sTTCCogNormalSpeeds

s16 sTTCCogNormalSpeeds[] = { 200, 400 }
static

The speed that the cog moves on the slow and fast settings, respectively.