shithub: candycrisis

ref: e67675bc2c457a0bc3bd4b7883d82d0ec7746c10
dir: /src/grays.h/

View raw version
// grays.h

void InitGrays( void );
void CalculateGrays( int player, int BlobsToDrop );
void SetupGrays( int player );
void DropGrays( int player );
void BlinkGrays( int player );
void PlaceGrayRow( int player, int grayX );
void Bounce( int player );
void LockGrays( int player );
MBoolean BusyDroppingGrays( int player );

extern int grays[2][kGridAcross], grayAir[2][kGridAcross], graySpeed[2];
extern int unallocatedGrays[2], lockGrays[2], rowBounce[2][kGridAcross], splat[2][kGridAcross];
extern MTicks blinkTime[2];
extern int blinkStage[2];

#define kTimeBetweenBlinks 120