IT WORKS NOW
This commit is contained in:
parent
f5b65a390b
commit
0f2d03526e
14 changed files with 19477 additions and 31 deletions
|
|
@ -1,6 +1,9 @@
|
|||
#include "01_automato.h"
|
||||
#include "../../logging.h"
|
||||
|
||||
void do_init(void) {
|
||||
LOG_FUNCTION_START("do_init", "");
|
||||
|
||||
GameState_t* state = get_game_state();
|
||||
// Очистка поля
|
||||
for (int i = 0; i < FIELD_HEIGHT; ++i)
|
||||
|
|
@ -11,4 +14,7 @@ void do_init(void) {
|
|||
state->info->level = 1;
|
||||
state->info->speed = 1;
|
||||
state->state = Spawn;
|
||||
|
||||
LOG_FUNCTION_END("do_init", "score=%d, level=%d, state=%d",
|
||||
state->info->score, state->info->level, state->state);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue