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

Data Structures

struct  TTCPitBlockProperties
 The speed of movement, and the time to wait before moving. More...
 

Functions

void bhv_ttc_pit_block_init (void)
 Init function for bhvTTCPitBlock. More...
 
void bhv_ttc_pit_block_update (void)
 Update function for bhvTTCPitBlock. More...
 

Variables

static voidsTTCPitBlockCollisionModels []
 Behavior for bhvTTCPitBlock. More...
 
static struct TTCPitBlockProperties sTTCPitBlockProperties [][2]
 Properties for the pit block on each speed setting when moving up and down, respectively. More...
 

Function Documentation

◆ bhv_ttc_pit_block_init()

void bhv_ttc_pit_block_init ( void  )

Init function for bhvTTCPitBlock.

◆ bhv_ttc_pit_block_update()

void bhv_ttc_pit_block_update ( void  )

Update function for bhvTTCPitBlock.

Move up and down, pausing before changing direction.

Variable Documentation

◆ sTTCPitBlockCollisionModels

void* sTTCPitBlockCollisionModels[]
static
Initial value:
= {
}
u8 ttc_seg7_collision_070157D8[]
u8 ttc_seg7_collision_07015754[]

Behavior for bhvTTCPitBlock.

This is the block that moves up and down near the Pit and the Pendulum star. Collision models. The second one is unused.

◆ sTTCPitBlockProperties

struct TTCPitBlockProperties sTTCPitBlockProperties[][2]
static
Initial value:
= {
{ { 11, 20 }, { -9, 30 } },
{ { 18, 15 }, { -11, 15 } },
{ { 11, 20 }, { -9, -1 } },
{ { 0, 0 }, { 0, 0 } },
}

Properties for the pit block on each speed setting when moving up and down, respectively.