30 lines
464 B
C
30 lines
464 B
C
#ifndef SCORE_H
|
|
#define SCORE_H
|
|
|
|
#define KILL_ENNEMI 105
|
|
|
|
//extern int score;
|
|
//extern int lifes;
|
|
extern int finish_level; // si ==-1, continue, si 0==retry, si ==1 ou + next
|
|
extern int time_id;
|
|
|
|
int get_score();
|
|
int get_coins();
|
|
void score_reset();
|
|
void score_add(int);
|
|
void score_display();
|
|
void score_add_coin();
|
|
void new_level();
|
|
void new_game();
|
|
|
|
|
|
int get_time_spent();
|
|
|
|
/* Lifes Management */
|
|
|
|
int LifesGet();
|
|
void LifesSet(int);
|
|
void LifesAdd(int);
|
|
|
|
#endif
|