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.
20 lines
286 B
20 lines
286 B
#ifndef ITEMS_H
|
|
#define ITEMS_H
|
|
|
|
#define itemAttributesMax 4 // for items
|
|
#define maxItems 100 // for inventory/item list
|
|
|
|
#include <stdbool.h>
|
|
|
|
typedef struct
|
|
{
|
|
int id;
|
|
char itemName[50];
|
|
bool inShopAvailable;
|
|
int price;
|
|
} Item;
|
|
|
|
Item *getItems(char *itemsMapFile);
|
|
|
|
|
|
#endif
|