aboutsummaryrefslogtreecommitdiff
path: root/src/game.h
blob: a13bdb95ed9604edd54785f7262eb3477d381df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _GAME_H
#define _GAME_H

#define GAME_LIVES_START    3
#define GAME_LIVES_MAX      9
#define GAME_TIME_MAX       60

#define HUD_CLEAN   0
#define HUD_LIVES   1
#define HUD_SCORE   2
#define HUD_STAGE   4
#define HUD_TIME    8
#define HUD_ALL     255

void run_game();
void add_score(uint8_t v);
uint32_t get_hiscore();

uint8_t dec_lives();

#endif /* _GAME_H */