1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-02 07:35:08 +02:00

extend item ids to 16 bits

This commit is contained in:
p2r3
2025-08-12 04:43:59 +03:00
parent 8d03fa475d
commit 85ed094674
5 changed files with 28 additions and 24 deletions

View File

@@ -20,6 +20,6 @@ uint8_t player_data[(
2 + // Z position (short)
2 + // Angles (both, i8)
1 + // Hotbar slot
82 // Inventory
123 // Inventory (u16 id, u8 count)
) * MAX_PLAYERS];
int player_data_size = 16 + 4 + 2 + 2 + 2 + 2 + 1 + 82;
int player_data_size = 16 + 4 + 2 + 2 + 2 + 2 + 1 + 123;