This is Explosion.h in view mode; [Download] [Up]
#import <appkit/appkit.h>
#import <dpsclient/dpsNeXT.h>
typedef struct
{
float currx,
curry,
mx,
my;
short delay,
sequence,
sequencecount,
count;
} PLOT;
@interface Explosion: Object
{
int scount,
simMode,
qani,
deadCount;
PLOT plots[ 151 ];
NXRect theRect;
int maxPlot;
float startx,
starty,
rdestx,
rdesty,
vx,
vy;
float *cArray0,
*cArray20,
*cArray40,
*cArray60,
*cArray80,
*cArray100;
char *oArray;
int ci0,
ci20,
ci40,
ci60,
ci80,
ci100;
int qci0,
qci30,
qci60;
float qcArray0[ 10 ],
qcArray30[ 10 ],
qcArray60[ 10 ];
char roArray[ 7 ];
int steps,
color,
qdelay,
gravdelay;
float speedf,
gravsim;
float bbox[ 4 ],
explosionx,
explosiony;
BOOL colorMode;
}
- init;
- free;
- initStart:( NXRect *)aRect withPlots:( int )Plots mode:( BOOL )mode;
- doSim;
- clearSim;
- showSim;
- initPlots;
- preparePlots;
- toPos;
- initExplosion;
- moveExplosion;
- showExplosion;
- initRocket;
- moveRocket;
- showRocket;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.