world.h 421 B

12345678910111213141516
  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
  11. const LevelBehaviour *world_pvp();
  12. bool world_json_draw(GameManager *manager, Level *level, const FuriString *json_data);
  13. FuriString *world_fetch(FlipperHTTP *fhttp, const char *name);