This commit is contained in:
2025-04-30 19:01:44 +02:00
parent 451e80f750
commit 429627c095
10 changed files with 100 additions and 73 deletions

View File

@@ -23,6 +23,7 @@ typedef struct {
int tileX, tileY;
bool active;
uint16_t type;
uint8_t place;
} ItemOnBelt;
void updateItems();
@@ -31,5 +32,5 @@ void loadItems(SDL_Renderer *renderer);
void renderItem(ItemOnBelt item, SDL_Renderer *renderer);
void putItem(int x, int y, uint16_t itemType);
void putItem(int x, int y, uint16_t itemType, uint8_t lane, uint8_t itemIndex);
#endif //FACTORYGAME_ITEM_H