engine.h 358 B

1234567891011121314151617
  1. #pragma once
  2. #include <furi.h>
  3. #include "game_engine.h"
  4. #include "level.h"
  5. #include "entity.h"
  6. #include "game_manager.h"
  7. typedef struct {
  8. float target_fps;
  9. bool show_fps;
  10. bool always_backlight;
  11. void (*start)(GameManager* game_manager, void* context);
  12. void (*stop)(void* context);
  13. size_t context_size;
  14. } Game;
  15. extern const Game game;