From 94c294bfdcfb7caa84c88649f3630605ed90e884 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Sun, 2 Jul 2017 20:29:58 +0200 Subject: Irrlicht cleanup: cleanup various object to use RenderingEngine (#6088) * Irrlicht cleanup: cleanup various object to use RenderingEngine * CAO doesn't need scenemanager in addToScene * Camera doesn't need VideoDriver pointer or SceneManager in constructor * Hud doesn't need driver & scene manager in constructor * Hud doesn't need scenemanager pointer * Tile.h doesn't need IrrlichtDevice header (just SMaterial) * WieldMeshSceneNode: only take scene, we always use scene root node as parent --- src/nodedef.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nodedef.h') diff --git a/src/nodedef.h b/src/nodedef.h index 97697e746..a0b5fc69e 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -30,6 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef SERVER #include "client/tile.h" #include "shader.h" +#include class Client; #endif #include "itemgroup.h" -- cgit v1.2.3