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

/* ugggggggly */
#define PIECES    7
#define NONE      0
#define KING      1
#define QUEEN     2
#define BISHOP    3 
#define KNIGHT    4 
#define ROOK      5
#define PAWN      6 
#define BKING     8
#define BQUEEN    9
#define BBISHOP  10 
#define BKNIGHT  11
#define BROOK    12
#define BPAWN    13 

extern void chessmodels_gen_lists( int classic, int poly_count[PIECES]);