ftp.nice.ch/pub/next/tools/screen/BackSpace.1.02.N.bs.tar.gz#/BackSpace/backspaceViews/LifeViewPart.h

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

#import <appkit/View.h>

#define MAXCOLS 140
#define MAXROWS 104
#define COLORS 18
#define CHANGECOUNT 2000

@interface LifeView:View
{
	unsigned char g1[MAXCOLS][MAXROWS];
	unsigned char g2[MAXCOLS][MAXROWS];
	
	unsigned char (*grid)[MAXROWS];
	unsigned char (*oldGrid)[MAXROWS];
	
	int ncols, nrows;
	int countDown;
	
	float colorTable[COLORS];
	NXRect changed[CHANGECOUNT];
	
	int stasis[24];
	int sindex;
}

- oneStep;
- drawSquares;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- (const char *) windowTitle;
- initFrame:(const NXRect *)frameRect;
- sizeTo:(NXCoord)width :(NXCoord)height;
- initLife;
- checkStasis:(int)checksum;

@end

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