it works but without figures

This commit is contained in:
Rorikstr | Rust Dev 2025-09-29 17:17:35 +03:00
parent e9785c4906
commit f5b65a390b
6 changed files with 75 additions and 17 deletions

View file

@ -7,8 +7,8 @@ void do_init(void) {
for (int j = 0; j < FIELD_WIDTH; ++j)
state->field[i][j] = 0;
state->info.score = 0;
state->info.level = 1;
state->info.speed = 1;
state->info->score = 0;
state->info->level = 1;
state->info->speed = 1;
state->state = Spawn;
}