1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00

use global tick counter to handle regular events at different rates

This commit is contained in:
p2r3
2025-08-31 21:45:47 +03:00
parent 8011a1adfd
commit d608014470
3 changed files with 38 additions and 34 deletions

View File

@@ -99,6 +99,7 @@ extern uint32_t world_seed;
extern uint32_t rng_seed;
extern uint16_t world_time;
extern uint32_t server_ticks;
extern char motd[];
extern uint8_t motd_len;