deferred block updates: falling sand

This commit is contained in:
2025-09-27 17:47:28 +02:00
parent 0cffb5a8f1
commit 5fcfe94449
6 changed files with 90 additions and 27 deletions

View File

@@ -50,6 +50,11 @@ 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;
uint8_t had_too_many_deferred_block_updates = false;
PlayerData player_data[MAX_PLAYERS];
int player_data_count = 0;