Всё фигня, давай по новой

This commit is contained in:
Rorikstr | Rust Dev 2025-09-29 13:42:58 +03:00
parent 485ac0ca40
commit f8e1e664a7
13 changed files with 199 additions and 479 deletions

View file

@ -0,0 +1,12 @@
#include "01_automato.h"
static GameState_t g_state = {0};
GameState_t* get_game_state(void) {
static int initialized = 0;
if (!initialized) {
g_state.state = GameOver;
initialized = 1;
}
return &g_state;
}