This is Board.h in view mode; [Download] [Up]
/* Generated by Interface Builder */
#import <appkit/Control.h>
#define EMPTY 0
#define WHITE_PAWN 1
#define WHITE_ROOK 2
#define WHITE_KNIGHT 3
#define WHITE_BISHOP 4
#define WHITE_QUEEN 5
#define WHITE_KING 6
#define BLACK_PAWN 7
#define BLACK_ROOK 8
#define BLACK_KNIGHT 9
#define BLACK_BISHOP 10
#define BLACK_QUEEN 11
#define BLACK_KING 12
extern char *pieceNames[];
@interface Board:Control
{
int squares[8][8];
id delegate;
int who;
BOOL isFlipped;
DPSTimedEntry clockEntry;
id blackName;
id blackTime;
id toMove;
id whiteName;
id whiteTime;
id moveNumber;
id blackStrength;
id whiteStrength;
id gameNumber;
id lastMove;
int lastX, lastY;
}
- initBoard;
- flipBoard:sender;
- (BOOL)isFlipped;
- parseBoard:(char *)line;
- setBoard:(int **)newb;
- setDelegate:anObject;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.