icon.h 380 B

12345678910111213141516
  1. #pragma once
  2. #include "flip_world_icons.h"
  3. #include "game.h"
  4. #define COLLISION_BOX_PADDING_HORIZONTAL 10
  5. #define COLLISION_BOX_PADDING_VERTICAL 12
  6. typedef struct
  7. {
  8. const Icon *icon;
  9. uint8_t width;
  10. uint8_t height;
  11. } IconContext;
  12. extern const EntityDescription icon_desc;
  13. IconContext *get_icon_context(char *name);
  14. IconContext *get_icon_context_furi(FuriString *name);