From fd3afbced5410639325e730d5710b8b5039b320e Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Fri, 18 Aug 2017 19:25:07 +0200 Subject: Optimize headers (part 2) (#6272) * Optimize headers (part 2) * less debug.h in headers * less remoteplayer.h for everybody * Cleanup (part 2) * camera.h: mesh.h * mapgen.h: mapnode.h * serverenvironment.h: mapblock.h * nodedef.h: shader.h --- src/serverenvironment.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/serverenvironment.h') diff --git a/src/serverenvironment.h b/src/serverenvironment.h index 3428d3c99..36f3e2067 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -19,15 +19,17 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once +#include "activeobject.h" #include "environment.h" #include "mapnode.h" -#include "mapblock.h" -#include "activeobject.h" +#include "settings.h" +#include "util/numeric.h" #include class IGameDef; class ServerMap; struct GameParams; +class MapBlock; class RemotePlayer; class PlayerDatabase; class PlayerSAO; -- cgit v1.2.3