From 0c4f03d9a5c082ada54925a062fa224662532eec Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 2 Sep 2024 16:09:32 +0200 Subject: [PATCH] Reduce include count in headers --- src/client/camera.h | 2 +- src/client/client.cpp | 1 + src/client/client.h | 53 +++++++++++++++---------------- src/client/clientevent.h | 3 +- src/client/clientlauncher.cpp | 1 + src/client/clientlauncher.h | 9 ++++-- src/client/clientmap.h | 12 ++++++- src/client/clientobject.h | 9 +++++- src/client/clouds.h | 10 +++++- src/client/content_cso.cpp | 1 + src/client/content_cso.h | 7 +++- src/client/filecache.cpp | 1 - src/client/gameui.cpp | 3 ++ src/client/gameui.h | 6 ++-- src/client/guiscalingfilter.cpp | 3 ++ src/client/guiscalingfilter.h | 12 ++++++- src/client/hud.h | 13 ++++++++ src/client/imagefilters.h | 9 +++++- src/client/inputhandler.h | 2 +- src/client/sky.h | 12 +++++-- src/client/texturesource.h | 8 ++++- src/client/wieldmesh.h | 15 ++++++++- src/gui/StyleSpec.h | 5 +-- src/gui/guiBackgroundImage.cpp | 1 + src/gui/guiFormSpecMenu.cpp | 1 + src/gui/guiFormSpecMenu.h | 5 ++- src/gui/guiHyperText.cpp | 1 + src/gui/guiItemImage.cpp | 2 ++ src/gui/guiPathSelectMenu.cpp | 1 + src/gui/guiPathSelectMenu.h | 3 +- src/hud.h | 2 +- src/itemdef.h | 2 +- src/mapnode.cpp | 2 +- src/nameidmapping.h | 2 +- src/network/peerhandler.h | 2 -- src/network/serveropcodes.h | 1 - src/player.h | 1 - src/remoteplayer.h | 1 + src/script/lua_api/l_mainmenu.cpp | 1 + 39 files changed, 163 insertions(+), 62 deletions(-) diff --git a/src/client/camera.h b/src/client/camera.h index 88533181b..8f85da0e1 100644 --- a/src/client/camera.h +++ b/src/client/camera.h @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes.h" #include "inventory.h" #include "util/numeric.h" #include "client/localplayer.h" diff --git a/src/client/client.cpp b/src/client/client.cpp index 3720ec54f..d3ad62512 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -52,6 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "profiler.h" #include "shader.h" #include "gettext.h" +#include "clientdynamicinfo.h" #include "clientmap.h" #include "clientmedia.h" #include "version.h" diff --git a/src/client/client.h b/src/client/client.h index 64ab90eb3..adbe7a70d 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -20,22 +20,20 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once #include "clientenvironment.h" -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes.h" #include #include #include #include #include #include -#include "clientobject.h" #include "gamedef.h" #include "inventorymanager.h" -#include "client/hud.h" -#include "tileanimation.h" #include "network/address.h" +#include "network/networkprotocol.h" // multiple enums #include "network/peerhandler.h" #include "gameparams.h" -#include "clientdynamicinfo.h" +#include "script/common/c_types.h" // LuaError #include "util/numeric.h" #ifdef SERVER @@ -44,32 +42,33 @@ with this program; if not, write to the Free Software Foundation, Inc., #define CLIENT_CHAT_MESSAGE_LIMIT_PER_10S 10.0f -struct ClientEvent; -struct MeshMakeData; -struct ChatMessage; -class MapBlockMesh; -class RenderingEngine; -class IWritableTextureSource; -class IWritableShaderSource; -class IWritableItemDefManager; -class ISoundManager; -class NodeDefManager; -//class IWritableCraftDefManager; +class Camera; class ClientMediaDownloader; -class SingleMediaDownloader; -struct MapDrawControl; +class ISoundManager; +class IWritableItemDefManager; +class IWritableShaderSource; +class IWritableTextureSource; +class MapBlockMesh; +class MapDatabase; +class MeshUpdateManager; +class Minimap; class ModChannelMgr; class MtEventManager; -struct PointedThing; -struct MapNode; -class MapDatabase; -class Minimap; -struct MinimapMapblock; -class MeshUpdateManager; -class ParticleManager; -class Camera; -struct PlayerControl; class NetworkPacket; +class NodeDefManager; +class ParticleManager; +class RenderingEngine; +class SingleMediaDownloader; +struct ChatMessage; +struct ClientDynamicInfo; +struct ClientEvent; +struct MapDrawControl; +struct MapNode; +struct MeshMakeData; +struct MinimapMapblock; +struct PlayerControl; +struct PointedThing; + namespace con { class IConnection; } diff --git a/src/client/clientevent.h b/src/client/clientevent.h index 243a94596..a53c007dd 100644 --- a/src/client/clientevent.h +++ b/src/client/clientevent.h @@ -20,7 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once #include -#include "irrlichttypes_bloated.h" +#include "irrlichttypes.h" +#include "client/hud.h" // HudElementStat struct ParticleParameters; struct ParticleSpawnerParameters; diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index 5826508f6..e86fb4425 100644 --- a/src/client/clientlauncher.cpp +++ b/src/client/clientlauncher.cpp @@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "player.h" #include "chat.h" #include "gettext.h" +#include "inputhandler.h" #include "profiler.h" #include "gui/guiEngine.h" #include "fontengine.h" diff --git a/src/client/clientlauncher.h b/src/client/clientlauncher.h index 7b070451a..ad7604c87 100644 --- a/src/client/clientlauncher.h +++ b/src/client/clientlauncher.h @@ -19,11 +19,14 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" -#include "client/inputhandler.h" -#include "gameparams.h" +#include class RenderingEngine; +class Settings; +class MyEventReceiver; +class InputHandler; +struct GameStartData; +struct MainMenuData; class ClientLauncher { diff --git a/src/client/clientmap.h b/src/client/clientmap.h index 8fac5a471..2f0a2e986 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include "map.h" #include "camera.h" #include @@ -41,6 +41,16 @@ class Client; class ITextureSource; class PartialMeshBuffer; +namespace irr::scene +{ + class IMeshBuffer; +} + +namespace irr::video +{ + class IVideoDriver; +} + /* ClientMap diff --git a/src/client/clientobject.h b/src/client/clientobject.h index f02815e04..8c2c68d15 100644 --- a/src/client/clientobject.h +++ b/src/client/clientobject.h @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include "activeobject.h" #include #include @@ -34,6 +34,13 @@ class LocalPlayer; struct ItemStack; class WieldMeshSceneNode; +namespace irr::scene +{ + class IAnimatedMeshSceneNode; + class ISceneNode; + class ISceneManager; +} + class ClientActiveObject : public ActiveObject { public: diff --git a/src/client/clouds.h b/src/client/clouds.h index e288c5e8a..332aa81e9 100644 --- a/src/client/clouds.h +++ b/src/client/clouds.h @@ -19,14 +19,22 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once +#include "irrlichttypes_bloated.h" #include "constants.h" #include "irr_ptr.h" -#include "irrlichttypes_extrabloated.h" #include "skyparams.h" #include +#include +#include +#include class IShaderSource; +namespace irr::scene +{ + class ISceneManager; +} + // Menu clouds class Clouds; extern Clouds *g_menuclouds; diff --git a/src/client/content_cso.cpp b/src/client/content_cso.cpp index c175df72e..821c2507d 100644 --- a/src/client/content_cso.cpp +++ b/src/client/content_cso.cpp @@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "content_cso.h" #include +#include #include "client/texturesource.h" #include "clientenvironment.h" #include "client.h" diff --git a/src/client/content_cso.h b/src/client/content_cso.h index cc9213175..b94580a61 100644 --- a/src/client/content_cso.h +++ b/src/client/content_cso.h @@ -19,8 +19,13 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include "clientsimpleobject.h" +namespace irr::scene +{ + class ISceneManager; +} + ClientSimpleObject* createSmokePuff(scene::ISceneManager *smgr, ClientEnvironment *env, v3f pos, v2f size); diff --git a/src/client/filecache.cpp b/src/client/filecache.cpp index 1f7e605d1..4dd7ec72f 100644 --- a/src/client/filecache.cpp +++ b/src/client/filecache.cpp @@ -20,7 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "filecache.h" -#include "network/networkprotocol.h" #include "log.h" #include "filesys.h" #include diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp index 0577943cb..7631f9c78 100644 --- a/src/client/gameui.cpp +++ b/src/client/gameui.cpp @@ -23,10 +23,13 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include "gui/mainmenumanager.h" #include "gui/guiChatConsole.h" +#include "gui/guiFormSpecMenu.h" +#include "util/enriched_string.h" #include "util/pointedthing.h" #include "client.h" #include "clientmap.h" #include "fontengine.h" +#include "hud.h" // HUD_FLAG_* #include "nodedef.h" #include "profiler.h" #include "renderingengine.h" diff --git a/src/client/gameui.h b/src/client/gameui.h index 5b87d43e6..59741c96c 100644 --- a/src/client/gameui.h +++ b/src/client/gameui.h @@ -22,15 +22,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes.h" #include -#include "gui/guiFormSpecMenu.h" -#include "util/enriched_string.h" -#include "util/pointedthing.h" #include "game.h" using namespace irr; class Client; +class EnrichedString; class GUIChatConsole; +class GUIFormSpecMenu; struct MapDrawControl; +struct PointedThing; /* * This object intend to contain the core UI elements diff --git a/src/client/guiscalingfilter.cpp b/src/client/guiscalingfilter.cpp index b7b9af0ff..eebf44103 100644 --- a/src/client/guiscalingfilter.cpp +++ b/src/client/guiscalingfilter.cpp @@ -23,6 +23,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "util/numeric.h" #include #include "client/renderingengine.h" +#include +#include +#include /* Maintain a static cache to store the images that correspond to textures * in a format that's manipulable by code. Some platforms exhibit issues diff --git a/src/client/guiscalingfilter.h b/src/client/guiscalingfilter.h index f2d2fce10..c929bb2d3 100644 --- a/src/client/guiscalingfilter.h +++ b/src/client/guiscalingfilter.h @@ -18,7 +18,17 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes.h" +#include +#include +#include + +namespace irr::video +{ + class IImage; + class ITexture; + class IVideoDriver; +} /* Manually insert an image into the cache, useful to avoid texture-to-image * conversion whenever we can intercept it. diff --git a/src/client/hud.h b/src/client/hud.h index 07df1c66b..55b24abd3 100644 --- a/src/client/hud.h +++ b/src/client/hud.h @@ -22,6 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include +#include +#include #include "irr_aabb3d.h" #include "../hud.h" @@ -32,6 +34,17 @@ class InventoryList; class LocalPlayer; struct ItemStack; +namespace irr::scene +{ + class IMesh; +} + +namespace irr::video +{ + class ITexture; + class IVideoDriver; +} + class Hud { public: diff --git a/src/client/imagefilters.h b/src/client/imagefilters.h index e6cbf2d29..f7e06ad09 100644 --- a/src/client/imagefilters.h +++ b/src/client/imagefilters.h @@ -18,7 +18,14 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes.h" +#include + +namespace irr::video +{ + class IVideoDriver; + class IImage; +} /* Fill in RGB values for transparent pixels, to correct for odd colors * appearing at borders when blending. This is because many PNG optimizers diff --git a/src/client/inputhandler.h b/src/client/inputhandler.h index 400503a3d..ba85b30ad 100644 --- a/src/client/inputhandler.h +++ b/src/client/inputhandler.h @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes.h" #include "joystick_controller.h" #include #include "keycode.h" diff --git a/src/client/sky.h b/src/client/sky.h index 2eadea561..eba301e18 100644 --- a/src/client/sky.h +++ b/src/client/sky.h @@ -19,16 +19,22 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include +#include #include -#include "camera.h" +#include "camera.h" // CameraMode #include "irr_ptr.h" -#include "shader.h" #include "skyparams.h" #define SKY_MATERIAL_COUNT 12 +namespace irr::video +{ + class IVideoDriver; +} + +class IShaderSource; class ITextureSource; // Skybox, rendered with zbuffer turned off, before all other nodes. diff --git a/src/client/texturesource.h b/src/client/texturesource.h index 5fef20821..d4880ed4c 100644 --- a/src/client/texturesource.h +++ b/src/client/texturesource.h @@ -20,10 +20,16 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once #include "irrlichttypes.h" -#include +#include #include #include +namespace irr::video +{ + class IImage; + class ITexture; +} + typedef std::vector Palette; /* diff --git a/src/client/wieldmesh.h b/src/client/wieldmesh.h index 6358a6665..e2c6cd445 100644 --- a/src/client/wieldmesh.h +++ b/src/client/wieldmesh.h @@ -21,7 +21,20 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include -#include "irrlichttypes_extrabloated.h" +#include "irr_aabb3d.h" +#include "irr_v3d.h" +#include +#include +#include + +namespace irr::scene +{ + class ISceneManager; + class IMesh; + struct SMesh; +} + +using namespace irr; struct ItemStack; class Client; diff --git a/src/gui/StyleSpec.h b/src/gui/StyleSpec.h index ef7416bca..373590a50 100644 --- a/src/gui/StyleSpec.h +++ b/src/gui/StyleSpec.h @@ -17,16 +17,17 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#pragma once + #include "client/texturesource.h" #include "client/fontengine.h" #include "debug.h" -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include "util/string.h" #include #include #include -#pragma once class StyleSpec { diff --git a/src/gui/guiBackgroundImage.cpp b/src/gui/guiBackgroundImage.cpp index 96197ca2c..f3b71bb8c 100644 --- a/src/gui/guiBackgroundImage.cpp +++ b/src/gui/guiBackgroundImage.cpp @@ -19,6 +19,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "client/guiscalingfilter.h" #include "log.h" #include "client/texturesource.h" +#include GUIBackgroundImage::GUIBackgroundImage(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, const core::rect &rectangle, diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index 1fd373b9c..8b572276c 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -38,6 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include "client/renderingengine.h" +#include "client/joystick_controller.h" #include "log.h" #include "client/hud.h" // drawItemStack #include "filesys.h" diff --git a/src/gui/guiFormSpecMenu.h b/src/gui/guiFormSpecMenu.h index 30045a168..12add12e6 100644 --- a/src/gui/guiFormSpecMenu.h +++ b/src/gui/guiFormSpecMenu.h @@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include "irr_ptr.h" #include "inventory.h" #include "inventorymanager.h" @@ -32,8 +32,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiInventoryList.h" #include "guiScrollBar.h" #include "guiTable.h" -#include "network/networkprotocol.h" -#include "client/joystick_controller.h" #include "util/string.h" #include "util/enriched_string.h" #include "StyleSpec.h" @@ -45,6 +43,7 @@ class ISimpleTextureSource; class Client; class GUIScrollContainer; class ISoundManager; +class JoystickController; enum FormspecFieldType { f_Button, diff --git a/src/gui/guiHyperText.cpp b/src/gui/guiHyperText.cpp index 45e5d6e98..6f30ac8ce 100644 --- a/src/gui/guiHyperText.cpp +++ b/src/gui/guiHyperText.cpp @@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiHyperText.h" #include "guiScrollBar.h" #include "client/fontengine.h" +#include "client/hud.h" // drawItemStack #include "IVideoDriver.h" #include "client/client.h" #include "client/renderingengine.h" diff --git a/src/gui/guiItemImage.cpp b/src/gui/guiItemImage.cpp index a02285fcb..0c543e391 100644 --- a/src/gui/guiItemImage.cpp +++ b/src/gui/guiItemImage.cpp @@ -19,7 +19,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiItemImage.h" #include "client/client.h" +#include "client/hud.h" // drawItemStack #include "inventory.h" +#include GUIItemImage::GUIItemImage(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, const core::rect &rectangle, const std::string &item_name, diff --git a/src/gui/guiPathSelectMenu.cpp b/src/gui/guiPathSelectMenu.cpp index 9c63e06b5..b4c3d36c3 100644 --- a/src/gui/guiPathSelectMenu.cpp +++ b/src/gui/guiPathSelectMenu.cpp @@ -18,6 +18,7 @@ */ #include "guiPathSelectMenu.h" +#include "guiFormSpecMenu.h" //required because of TextDest only !!! GUIFileSelectMenu::GUIFileSelectMenu(gui::IGUIEnvironment* env, gui::IGUIElement* parent, s32 id, IMenuManager *menumgr, diff --git a/src/gui/guiPathSelectMenu.h b/src/gui/guiPathSelectMenu.h index 11307d682..7757b2d7b 100644 --- a/src/gui/guiPathSelectMenu.h +++ b/src/gui/guiPathSelectMenu.h @@ -23,7 +23,8 @@ #include "modalMenu.h" #include "IGUIFileOpenDialog.h" -#include "guiFormSpecMenu.h" //required because of TextDest only !!! + +struct TextDest; class GUIFileSelectMenu : public GUIModalMenu { diff --git a/src/hud.h b/src/hud.h index d32ab784e..ac79aa750 100644 --- a/src/hud.h +++ b/src/hud.h @@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include #include "common/c_types.h" diff --git a/src/itemdef.h b/src/itemdef.h index 782dad816..4a227ebe1 100644 --- a/src/itemdef.h +++ b/src/itemdef.h @@ -20,7 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include #include #include diff --git a/src/mapnode.cpp b/src/mapnode.cpp index 6fe169e90..4e3c60192 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -17,7 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "irrlichttypes_extrabloated.h" +#include "irrlichttypes_bloated.h" #include "mapnode.h" #include "porting.h" #include "nodedef.h" diff --git a/src/nameidmapping.h b/src/nameidmapping.h index 47f424cbc..b200e3e7c 100644 --- a/src/nameidmapping.h +++ b/src/nameidmapping.h @@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include -#include "irrlichttypes_bloated.h" +#include "irrlichttypes.h" typedef std::unordered_map IdToNameMap; typedef std::unordered_map NameToIdMap; diff --git a/src/network/peerhandler.h b/src/network/peerhandler.h index 64e2c85fb..adda995b3 100644 --- a/src/network/peerhandler.h +++ b/src/network/peerhandler.h @@ -19,8 +19,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once -#include "networkprotocol.h" - namespace con { diff --git a/src/network/serveropcodes.h b/src/network/serveropcodes.h index 275270ab9..509d2b4b2 100644 --- a/src/network/serveropcodes.h +++ b/src/network/serveropcodes.h @@ -21,7 +21,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #pragma once #include "server.h" -#include "networkprotocol.h" class NetworkPacket; // Note: don't forward-declare Server here (#14324) diff --git a/src/player.h b/src/player.h index dd2be4986..7d92808cf 100644 --- a/src/player.h +++ b/src/player.h @@ -22,7 +22,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes_bloated.h" #include "inventory.h" #include "constants.h" -#include "network/networkprotocol.h" #include "util/basic_macros.h" #include "util/string.h" #include diff --git a/src/remoteplayer.h b/src/remoteplayer.h index e0c7ab744..4923c307d 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "player.h" #include "skyparams.h" #include "lighting.h" +#include "network/networkprotocol.h" // session_t class PlayerSAO; diff --git a/src/script/lua_api/l_mainmenu.cpp b/src/script/lua_api/l_mainmenu.cpp index 78808792b..bf20f14ba 100644 --- a/src/script/lua_api/l_mainmenu.cpp +++ b/src/script/lua_api/l_mainmenu.cpp @@ -34,6 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "content/subgames.h" #include "mapgen/mapgen.h" #include "settings.h" +#include "clientdynamicinfo.h" #include "client/client.h" #include "client/renderingengine.h" #include "network/networkprotocol.h"