Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
#include <draw.h>
4
#include <thread.h>
5
#include <cursor.h>
6
#include <mouse.h>
7
#include <keyboard.h>
8
 
9
enum
10
{
11
	MAXN = 5
12
};
13
 
14
typedef struct Piece Piece;
15
struct Piece{
16
	short	rot;
17
	short	tx;
18
	Point	sz;
19
	Point	d[MAXN];
20
};
21
 
22
extern int N, NP;
23
extern Piece pieces[];
24