shithub: candycrisis

ref: a41d051499b5be820f4eb2a96efb8019bd1fcd53
dir: /src/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 );