shithub: candycrisis

ref: e67675bc2c457a0bc3bd4b7883d82d0ec7746c10
dir: /src/hiscore.h/

View raw version
// hiscore.h

#define kNameLength 40

typedef struct
{
	signed char grid[kGridAcross][kGridDown];
	signed char a, b, m, g, lv, x, r, player;
	int value;
	char name[kNameLength];
} Combo;

typedef struct 
{
	char name[kNameLength];
	int score;
} HighScore;

void ShowHiscore( void );
void ShowBestCombo( void );
void AddHiscore( int score );
void SubmitCombo( Combo *in );
void InitPotentialCombos( void );

extern Combo best, potentialCombo[2];
extern HighScore scores[10];
extern char highScoreName[256];
extern const char *highScoreText, *highScoreRank;