X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fchessmodels.h;h=5827642a01fa5a083cbc8a0eaaf21784fbfdc89b;hp=9ef8c9bba8293ea978d83f4aed4741555e10ae47;hb=c28aecf9fc41e3a03494bacf7279745425e2fa18;hpb=723c9eeee862766a1534b2ce17b78adbfac1c3be diff --git a/hacks/glx/chessmodels.h b/hacks/glx/chessmodels.h index 9ef8c9bb..5827642a 100644 --- a/hacks/glx/chessmodels.h +++ b/hacks/glx/chessmodels.h @@ -1,4 +1,7 @@ /* + * models for the xss chess screensavers + * hacked from: + * * glChess - A 3D chess interface * * Copyright (C) 2002 Robert Ancell @@ -19,6 +22,22 @@ * 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 + void revolve_line(double *, double *, double, int); void gen_model_lists(void); void draw_pawn(void);