shithub: candycrisis

ref: b4805f6e847e719e08e5f75e09b4f6010f7b43b6
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 );