mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Some more random code cleanups
This commit is contained in:
@@ -419,7 +419,7 @@ private:
|
||||
static AuthDatabase *openAuthDatabase(const std::string &name,
|
||||
const std::string &savedir, const Settings &conf);
|
||||
|
||||
void activateBlock(MapBlock *block, u32 additional_dtime=0);
|
||||
void activateBlock(MapBlock *block);
|
||||
|
||||
/*
|
||||
Internal ActiveObject interface
|
||||
@@ -514,6 +514,16 @@ private:
|
||||
// Can raise to high values like 15s with eg. map generation mods.
|
||||
float m_max_lag_estimate = 0.1f;
|
||||
|
||||
|
||||
/*
|
||||
* TODO: Add a callback function so these can be updated when a setting
|
||||
* changes.
|
||||
*/
|
||||
float m_cache_active_block_mgmt_interval;
|
||||
float m_cache_abm_interval;
|
||||
float m_cache_nodetimer_interval;
|
||||
float m_cache_abm_time_budget;
|
||||
|
||||
// peer_ids in here should be unique, except that there may be many 0s
|
||||
std::vector<RemotePlayer*> m_players;
|
||||
|
||||
|
Reference in New Issue
Block a user