Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 53 lines (47 sloc) 1.203 kb
// players.h
void HandlePlayers( void );
void RetrieveBlobs( int player );
void Falling( int player );
void PlaceBlobs( int player );
void DropBlobs( int player );
void ResolveSuction( int player );
void BlinkBored( int player );
void InitPlayers( void );
void JiggleBlobs( int player );
void FastJiggleBlobs( int player );
void LockdownBlobs( int player );
void HandleMagic( int player );
void ChooseGlowingBlobs( int player );
void ConsiderGlow( int player, int color, int x, int y );
void GlowBlobs( int player );
void PlaceGrenade( int player );
void FadeCharred( int player );
void RedrawBoardContents( int player );
extern unsigned long boredTime[2], hintTime[2], fadeCharTime[2], animTime[2], shadowDepth[2], messageTime;
extern MBoolean idling[2];
extern int emotions[2];
extern int glowColors[][3];
enum
{
kFalling = 0,
kRetrieveBlobs,
kPlaceBlobs,
kJiggleBlobs,
kFastJiggleBlobs,
kLockdownBlobs,
kDropBlobs,
kZapBlobs,
kKillBlobs,
kDropGrays,
kLosing,
kWinning,
kChooseDifficulty,
kWaitingToStart,
kIdlePlayer,
kWaitForRetrieval
};
#define kDropSpeed 1
#define kFallSpeed 1
#define kFlashSpeed 5
#define kLeftPlayerWindowCenter 0.16
#define kRightPlayerWindowCenter 0.84
Jump to Line
Something went wrong with that request. Please try again.