mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-21 00:45:23 +01:00
Break include chains and tidy (part 2)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "network/peerhandler.h"
|
||||
#include "util/thread.h"
|
||||
#include "util/basic_macros.h"
|
||||
#include "serverenvironment.h"
|
||||
#include "util/metricsbackend.h"
|
||||
#include "server/clientiface.h"
|
||||
#include "threading/ordered_mutex.h"
|
||||
#include "translation.h"
|
||||
@@ -48,11 +48,13 @@ class ServerInventoryManager;
|
||||
class ServerModManager;
|
||||
class ServerScripting;
|
||||
class ServerThread;
|
||||
class Settings;
|
||||
|
||||
struct ChatEventChat;
|
||||
struct ChatInterface;
|
||||
struct ChatMessage;
|
||||
struct CloudParams;
|
||||
struct GameParams;
|
||||
struct Lighting;
|
||||
struct MoonParams;
|
||||
struct PackedValue;
|
||||
@@ -364,7 +366,7 @@ public:
|
||||
void addShutdownError(const ModError &e);
|
||||
|
||||
bool showFormspec(const char *name, const std::string &formspec, const std::string &formname);
|
||||
Map & getMap() { return m_env->getMap(); }
|
||||
Map &getMap();
|
||||
ServerEnvironment & getEnv() { return *m_env; }
|
||||
v3f findSpawnPos();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user