ftp.nice.ch/pub/next/developer/objc/appkit/Crossword.1.1.NIHS.bs.tar.gz#/Crossword.1.1.NIHS.bs/Source/PlainSquare.h

This is PlainSquare.h in view mode; [Download] [Up]

/*

File PlainSquare.h

Squares are the variables that guide the search.  This file implements simple squares for plain depth first search.

*/

#import <objc/Object.h>

#import "CrosswordSquare.h"
#import "Dictionary.h"


/* 行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行  */


#define HILIGHT		1 << 0


/* 行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行  */


typedef struct {
					id		word;
					int		i;
	} wordPosition;


/* 行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行行  */


@interface PlainSquare:Object
{
	id					puzzle;
	id					words;
	CrosswordSquare		* cell;
	float				efficiency;
	int					count [LETTERS];
	char				letter;
	int					tried;
	int					status;
}

- (float) efficiency;
- initPuzzle: (id) thePuzzle  cell: (id) theCell;
- free;
- addToWord: (id) word  at: (int) i;
- startOver;
- setStatus: (int) flag;
- clearStatus: (int) flag;
- hilight;
- unhilight;
- adjustColor;
- (BOOL) fillNext;
- erase;
- clear;
- show;
- (char) chooseLetter;
- setLetter: (char) theLetter;
- update;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.