You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
286 B

  1. #ifndef ITEMS_H
  2. #define ITEMS_H
  3. #define itemAttributesMax 4 // for items
  4. #define maxItems 100 // for inventory/item list
  5. #include <stdbool.h>
  6. typedef struct
  7. {
  8. int id;
  9. char itemName[50];
  10. bool inShopAvailable;
  11. int price;
  12. } Item;
  13. Item *getItems(char *itemsMapFile);
  14. #endif