implement basic crafting

This commit is contained in:
p2r3
2025-08-12 17:08:17 +03:00
parent 0404fa2cbb
commit 1fc0f75ed7
5 changed files with 116 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
#define H_GLOBALS
#include <stdint.h>
#include <unistd.h>
#define true 1
#define false 0
@@ -41,6 +42,7 @@ typedef struct {
int8_t pitch;
uint8_t hotbar;
uint16_t inventory_items[41];
uint16_t craft_items[9];
uint8_t inventory_count[41];
} PlayerData;