Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Enumerations | Functions | Variables
geo_misc.h File Reference
#include "types.h"

Go to the source code of this file.

Enumerations

enum  FlyingCarpetState { FLYING_CARPET_IDLE = 0, FLYING_CARPET_MOVING_WITHOUT_MARIO = 1, FLYING_CARPET_MOVING_WITH_MARIO = 2 }
 

Functions

void make_vertex (Vtx *vtx, s32 n, s16 x, s16 y, s16 z, s16 tx, s16 ty, u8 r, u8 g, u8 b, u8 a)
 Create a vertex with the given parameters and insert it into vtx at position n. More...
 
s16 round_float (f32)
 Round num to the nearest s16. More...
 

Variables

s8 gFlyingCarpetState
 

Enumeration Type Documentation

◆ FlyingCarpetState

Enumerator
FLYING_CARPET_IDLE 
FLYING_CARPET_MOVING_WITHOUT_MARIO 
FLYING_CARPET_MOVING_WITH_MARIO 

Function Documentation

◆ make_vertex()

void make_vertex ( Vtx vtx,
s32  n,
s16  x,
s16  y,
s16  z,
s16  tx,
s16  ty,
u8  r,
u8  g,
u8  b,
u8  a 
)

Create a vertex with the given parameters and insert it into vtx at position n.

◆ round_float()

s16 round_float ( f32  )

Round num to the nearest s16.

Variable Documentation

◆ gFlyingCarpetState

s8 gFlyingCarpetState