-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzap.h
30 lines (24 loc) · 1.23 KB
/
zap.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// zap.h
#include "font.h"
void ZapScoreDisplay( int player, int amount, int multiplier, int x, int y, int c );
int SizeUp( signed char myGrid[kGridAcross][kGridDown], int x, int y, int color );
int GetChainSize( signed char myGrid[kGridAcross][kGridDown], int x, int y, int color );
void CleanSize( signed char myGrid[kGridAcross][kGridDown], int x, int y, int color );
void CleanWithPolish( signed char myGrid[kGridAcross][kGridDown], signed char polish[kGridAcross][kGridDown], int x, int y, int color );
void RemoveBlobs( int player, int x, int y, int color, int generation );
void KillBlobs( int player );
void ZapBlobs( int player );
void CleanChunks( int player, int x, int y, int level, int style );
void DrawChunks( int player, int x, int y, int level, int style );
void CleanSplat( int player, int x, int y, int level );
void DrawSplat( int player, int x, int y, int level );
void GetZapStyle( int player, MRect *myRect, int *color, int *type, int which,
int level, int style );
void InitZapStyle( void );
extern signed char death[2][kGridAcross][kGridDown];
extern int zapIteration[2];
extern int grenadeFrame[2];
extern MRect grenadeRect[2];
extern SkittlesFontPtr zapFont, zapOutline;
#define kBlobClusterSize 4
#define kZapFrames 20