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

"deferred block updates": falling sand and flowing water

This commit is contained in:
2025-09-27 17:47:28 +02:00
parent 90a7a8b48e
commit 7e7a98bd41
6 changed files with 226 additions and 80 deletions

View File

@@ -50,6 +50,10 @@ uint16_t client_count;
BlockChange block_changes[MAX_BLOCK_CHANGES];
int block_changes_count = 0;
DeferredBlockUpdate deferred_block_updates[MAX_DEFERRED_BLOCK_UPDATES];
int deferred_block_updates_count = 0;
uint8_t is_processing_deferred_block_updates = 0;
PlayerData player_data[MAX_PLAYERS];
int player_data_count = 0;