mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Apply some refactoring/cleanup to mainly util functions
This commit is contained in:
parent
89e3bc8d56
commit
e73eed247e
19 changed files with 190 additions and 160 deletions
|
@ -277,7 +277,10 @@ public:
|
|||
return m_env.getPlayerNames();
|
||||
}
|
||||
|
||||
float getAnimationTime();
|
||||
float getAnimationTime() const
|
||||
{
|
||||
return m_animation_time;
|
||||
}
|
||||
|
||||
int getCrackLevel();
|
||||
v3s16 getCrackPos();
|
||||
|
@ -294,7 +297,7 @@ public:
|
|||
bool getChatMessage(std::wstring &message);
|
||||
void typeChatMessage(const std::wstring& message);
|
||||
|
||||
u64 getMapSeed(){ return m_map_seed; }
|
||||
u64 getMapSeed() const { return m_map_seed; }
|
||||
|
||||
void addUpdateMeshTask(v3s16 blockpos, bool ack_to_server=false, bool urgent=false);
|
||||
// Including blocks at appropriate edges
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue