Decomposed and fixed saves
This commit is contained in:
parent
65d2c2e287
commit
cc6f9bb2d1
9 changed files with 112 additions and 72 deletions
|
|
@ -58,6 +58,7 @@ GameState_t* get_game_state(void);
|
|||
void do_init(void);
|
||||
int load_high_score();
|
||||
void save_high_score(int score);
|
||||
void generate_next_figure(void);
|
||||
|
||||
// spawn
|
||||
void do_spawn(void);
|
||||
|
|
@ -78,7 +79,6 @@ void clear_lines();
|
|||
void do_gameover(void);
|
||||
int is_game_over();
|
||||
|
||||
|
||||
// Функции фигур
|
||||
const int (*get_figure_shape(Sprite_t sprite, int rotation))[4];
|
||||
|
||||
|
|
@ -110,5 +110,4 @@ const int (*z_fig_down())[4];
|
|||
const int (*z_fig_left())[4];
|
||||
const int (*empty_fig())[4];
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue