icon.h 284 B

1234567891011121314
  1. #pragma once
  2. #include "flip_world_icons.h"
  3. #include "game.h"
  4. typedef struct
  5. {
  6. char id[32];
  7. const Icon *icon;
  8. Vector size;
  9. } IconContext;
  10. extern const EntityDescription icon_desc;
  11. IconContext *get_icon_context(const char *name);
  12. const char *icon_get_id(const Icon *icon);