diff options
author | Simon Rettberg | 2018-10-16 10:08:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-10-16 10:08:48 +0200 |
commit | d3a98cf6cbc3bd0b9efc570f58e8812c03931c18 (patch) | |
tree | cbddf8e50f35a9c6e878a5bfe3c6d625d99e12ba /hacks/glx/chessmodels.h | |
download | xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.tar.gz xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.tar.xz xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.zip |
Original 5.40
Diffstat (limited to 'hacks/glx/chessmodels.h')
-rw-r--r-- | hacks/glx/chessmodels.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/hacks/glx/chessmodels.h b/hacks/glx/chessmodels.h new file mode 100644 index 0000000..6e41e22 --- /dev/null +++ b/hacks/glx/chessmodels.h @@ -0,0 +1,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]); + |