2019-11-30 13:57:18 +01:00
|
|
|
#ifndef SCORE
|
|
|
|
#define SCORE
|
|
|
|
|
2020-01-08 16:16:05 +01:00
|
|
|
//extern int score;
|
2019-11-30 13:57:18 +01:00
|
|
|
extern int lifes;
|
2020-01-06 18:43:36 +01:00
|
|
|
extern int finish_level; // si ==-1, continue, si 0==retry, si ==1 ou + next
|
2019-12-03 19:53:30 +01:00
|
|
|
extern int time_id;
|
2019-11-30 13:57:18 +01:00
|
|
|
|
2020-01-08 16:16:05 +01:00
|
|
|
int get_score();
|
2020-01-25 11:54:39 +01:00
|
|
|
int get_coins();
|
2020-01-08 16:16:05 +01:00
|
|
|
void score_reset();
|
2019-11-30 13:57:18 +01:00
|
|
|
void score_add(int);
|
|
|
|
void score_display();
|
|
|
|
void score_add_coin();
|
|
|
|
void new_level();
|
2020-01-14 21:31:13 +01:00
|
|
|
void new_game();
|
2019-11-30 13:57:18 +01:00
|
|
|
|
2020-01-15 20:42:51 +01:00
|
|
|
int get_time_spent();
|
|
|
|
|
2020-01-06 18:43:36 +01:00
|
|
|
#endif
|