From http://www.jwz.org/xscreensaver/xscreensaver-5.18.tar.gz
[xscreensaver] / hacks / glx / chessmodels.h
1 /*
2  * models for the xss chess screensavers
3  * hacked from:
4  *
5  * glChess - A 3D chess interface
6  *
7  * Copyright (C) 2006  John-Paul Gignac <jjgignac@users.sf.net>
8  *
9  * Copyright (C) 2002  Robert  Ancell <bob27@users.sourceforge.net>
10  *                     Michael Duelli <duelli@users.sourceforge.net>
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25  */
26
27 /* ugggggggly */
28 #define PIECES    7
29 #define NONE      0
30 #define KING      1
31 #define QUEEN     2
32 #define BISHOP    3 
33 #define KNIGHT    4 
34 #define ROOK      5
35 #define PAWN      6 
36 #define BKING     8
37 #define BQUEEN    9
38 #define BBISHOP  10 
39 #define BKNIGHT  11
40 #define BROOK    12
41 #define BPAWN    13 
42
43 extern void chessmodels_gen_lists( int classic, int poly_count[PIECES]);
44