1
0
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:
SmallJoker
2025-11-06 19:31:13 +01:00
committed by GitHub
parent 8593d38030
commit 98fb381910
60 changed files with 259 additions and 153 deletions

View File

@@ -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();