world.h 481 B

123456789101112131415
  1. #pragma once
  2. #include <game/draw.h>
  3. // Screen size
  4. #define SCREEN_WIDTH 128
  5. #define SCREEN_HEIGHT 64
  6. // World size (6x6)
  7. #define WORLD_WIDTH 768
  8. #define WORLD_HEIGHT 384
  9. // Maximum number of world objects
  10. #define MAX_WORLD_OBJECTS 25 // any more than that and we may run out of heap when switching worlds
  11. const LevelBehaviour *training_world();
  12. bool draw_json_world_furi(GameManager *manager, Level *level, const FuriString *json_data);
  13. FuriString *fetch_world(const char *name);