////////////////////////////////////////////////////////////////////////////// // // This file is part of the Atari graphical interface for GNU Chess, // and is Copyright 1992 by Warwick W. Allison. // // You are free to copy and modify these sources, provided you acknowledge // the origin by retaining this notice, and adhere to the conditions // of the CHESS General Public License described in the main chess file // gnuchess.cc. // ////////////////////////////////////////////////////////////////////////////// #include class GamePiece { public: GamePiece(); void Colour(bool isblack); void Rank(int); void Draw(int x,int y); private: Sprite Image; bool IsBlack; int rank; }; extern Incarnation **RankImage; extern GamePiece *Piece; void InitPiece(Screen&);