-
Notifications
You must be signed in to change notification settings - Fork 0
/
control.h
28 lines (26 loc) · 852 Bytes
/
control.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
// control.h
void PlayerControl( int player );
void AIControl( int player );
void ChooseAIDestination( int player );
int TestAIDestination( int player, int testX, int testR );
int GetRowHeight( int player, int row );
int DetermineEmotion( int player );
int TestTemporaryGrid( void );
void QuickRemove( signed char myGrid[kGridAcross][kGridDown], int x, int y, int color );
MBoolean CanReach( int player, int testX );
int ScoreTemporaryGrid( void );
int BestColor( int player, int BlobX, int BlobY );
void LogText( char string[] );
void LogGrid( signed char myGrid[kGridAcross][kGridDown] );
void AutoControl( int player );
extern int destinationX[2], destinationR[2];
extern signed char tempGrid[kGridAcross][kGridDown];
extern int timeAI[2];
extern MBoolean moveQuick[2];
enum
{
kEmotionNeutral = 0,
kEmotionSad,
kEmotionHappy,
kEmotionPanic
};