![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Functions | |
void | bhv_decorative_pendulum_init (void) |
Behavior for bhvDecorativePendulum. More... | |
void | bhv_decorative_pendulum_loop (void) |
Smoothly swing the decorative pendulum back and forth using constant angular acceleration. More... | |
Behavior for bhvDecorativePendulum.
This controls the pendulum that lies underneath the Tick Tock Clock painting.
Smoothly swing the decorative pendulum back and forth using constant angular acceleration.
This if-statement is true twice in the span of 5 frames when oAngleVelRoll takes values in {0x10, 0x08, 0x00, -0x08, -0x10}. This means the sound we hear when the pendulum hits its upswing is actually one sound played twice in rapid succession.