shapes.c File Reference

#include <unistd.h>
#include "tetris.h"

Go to the source code of this file.

Defines

#define BC   B_COLS
#define BL   (B_COLS - 1)
#define BR   (B_COLS + 1)
#define ML   -1
#define MR   1
#define TC   (-B_COLS)
#define TL   (-B_COLS - 1)
#define TR   (-B_COLS + 1)

Functions

int fits_in (const struct shape *shape, int pos)
void place (const struct shape *shape, int pos, int onoff)

Variables

shape shapes []


Detailed Description

Definition in file shapes.c.


Generated on Thu Jun 2 07:45:51 2011 for HelenOS/USB by  doxygen 1.4.7