]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/xs.h
ape/lib9: sync arm getfcr.s implementation
[plan9front.git] / sys / src / games / xs.h
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