| 123456789101112131415161718192021222324252627 |
- #pragma once
- #include <furi.h>
- #include "game_engine.h"
- #include "level.h"
- #include "entity.h"
- #include "game_manager.h"
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- typedef struct
- {
- float target_fps;
- bool show_fps;
- bool always_backlight;
- void (*start)(GameManager *game_manager, void *context);
- void (*stop)(void *context);
- size_t context_size;
- } Game;
- extern const Game game;
- #ifdef __cplusplus
- }
- #endif
|