shithub: candycrisis

ref: 8c92d67b5cca0acaee68803945af24633b140c9f
dir: /tutorial.h/

View raw version
// tutorial.h

typedef enum
{
	kMessage = 0,
	kIdleTicks,
	kRetrieve,
	kPosition,
	kSpin,
	kBlockUntilLand,
	kBlockUntilDrop,
	kPunish,
	kComplete,
	kBlockUntilComplete
}
AutoCommand;

typedef struct
{
	AutoCommand command;
	int d1, d2;
	const char *message;
}
AutoPattern, *AutoPatternPtr;

extern AutoPatternPtr autoPattern;
extern int tutorialTime;

void InitTutorial( void );
void StartBalloon( const char *message );
void StopBalloon( void );
void UpdateBalloon( void );
void EndTutorial( void );