tetris.c File Reference

#include <sys/time.h>
#include <sys/types.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <str.h>
#include <unistd.h>
#include <getopt.h>
#include "input.h"
#include "scores.h"
#include "screen.h"
#include "tetris.h"

Go to the source code of this file.

Functions

static void elide (void)
int main (int argc, char *argv[])
 Main entry point.
static struct shaperandshape (void)
static void setup_board (void)
static void srandomdev (void)
static int tetris_menu (int *level)
static void tetris_menu_draw (int level)
static void usage (void)

Variables

cell board [B_SIZE]
int classic
int Cols
static const char copyright []
shapecurshape
long fallrate
static int firstgame = 1
char key_msg [100]
shapenextshape
int Rows
int score
int showpreview


Detailed Description

Definition in file tetris.c.


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