diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-07-02 20:29:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-02 20:29:58 +0200 |
commit | 94c294bfdcfb7caa84c88649f3630605ed90e884 (patch) | |
tree | 94fdecef9a4f1204effb95e800f7c2cb39126a67 /src/client | |
parent | 51104d9cd445da21adc731fb820bbb7d82b45d64 (diff) | |
download | minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.tar.gz minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.tar.bz2 minetest-94c294bfdcfb7caa84c88649f3630605ed90e884.zip |
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
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/tile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/tile.h b/src/client/tile.h index fb1c87371..aadc3e156 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -23,9 +23,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irrlichttypes.h" #include "irr_v3d.h" #include <ITexture.h> -#include <IrrlichtDevice.h> #include <string> #include <vector> +#include <SMaterial.h> #include "util/numeric.h" class IGameDef; |