OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
piece.c File Reference
#include "piece.h"

Functions

s8 pieceGetCellCol (u8 type, u8 rot, u8 i)
s8 pieceGetCellRow (u8 type, u8 rot, u8 i)
u8 pieceRandom (void)
u8 pieceRotateCCW (u8 rot)
u8 pieceRotateCW (u8 rot)
s8 pieceSpawnCol (u8 type)
s8 pieceSpawnRow (u8 type)

Variables

static s8 all_shapes []

Function Documentation

◆ pieceGetCellCol()

s8 pieceGetCellCol ( u8 type,
u8 rot,
u8 i )

◆ pieceGetCellRow()

s8 pieceGetCellRow ( u8 type,
u8 rot,
u8 i )

◆ pieceRandom()

u8 pieceRandom ( void )

◆ pieceRotateCCW()

u8 pieceRotateCCW ( u8 rot)

◆ pieceRotateCW()

u8 pieceRotateCW ( u8 rot)

◆ pieceSpawnCol()

s8 pieceSpawnCol ( u8 type)

◆ pieceSpawnRow()

s8 pieceSpawnRow ( u8 type)

Variable Documentation

◆ all_shapes

s8 all_shapes[]
static