X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fserverenvironment.h;h=36f3e20673bba32b6502438078ed75b4c24f5bf8;hb=fd3afbced5410639325e730d5710b8b5039b320e;hp=4cfe7f7d646ee44404e454313500f0e28a694852;hpb=a8c405b04ea1be927d8ebc753ce7ccb46cfdd4f9;p=minetest.git diff --git a/src/serverenvironment.h b/src/serverenvironment.h index 4cfe7f7d6..36f3e2067 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -17,17 +17,19 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef SERVER_ENVIRONMENT_HEADER -#define SERVER_ENVIRONMENT_HEADER +#pragma once +#include "activeobject.h" #include "environment.h" #include "mapnode.h" -#include "mapblock.h" +#include "settings.h" +#include "util/numeric.h" #include class IGameDef; class ServerMap; struct GameParams; +class MapBlock; class RemotePlayer; class PlayerDatabase; class PlayerSAO; @@ -436,5 +438,3 @@ class ServerEnvironment : public Environment std::unordered_map m_particle_spawners; std::unordered_map m_particle_spawner_attachments; }; - -#endif