Cleaning up stuff

This commit is contained in:
tognee 2019-09-18 00:09:46 +02:00
parent 5423be67ca
commit a5ea06a928
44 changed files with 7329 additions and 7432 deletions

View file

@ -3,22 +3,22 @@
#include "Item.h"
typedef struct _recipecost {
int costItem;
int costAmount;
int costItem;
int costAmount;
} Cost;
typedef struct _recipe {
bool canCraft;
int itemResult;
int itemAmountLevel;
s8 numOfCosts;
Cost costs[6]; // Up to 6 items for costs
u8 order; // Used for stable sorting.
bool canCraft;
int itemResult;
int itemAmountLevel;
s8 numOfCosts;
Cost costs[6]; // Up to 6 items for costs
u8 order; // Used for stable sorting.
} Recipe;
typedef struct _recipeManager {
int size;
Recipe * recipes;
int size;
Recipe * recipes;
} RecipeManager;