diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-16 22:11:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 22:11:45 +0200 |
commit | 85511a642f851100d0d856f4ecbe7fea7a7bb049 (patch) | |
tree | b25e4196578cb4734008642a29101393c6d9c457 /src/client | |
parent | 816bca32ac69f58b7de881d68689c6a1e3897a0e (diff) | |
download | minetest-85511a642f851100d0d856f4ecbe7fea7a7bb049.tar.gz minetest-85511a642f851100d0d856f4ecbe7fea7a7bb049.tar.bz2 minetest-85511a642f851100d0d856f4ecbe7fea7a7bb049.zip |
Cleanup various headers to reduce compilation times (#6255)
* Cleanup various headers to reduce compilation times
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/inputhandler.h | 2 | ||||
-rw-r--r-- | src/client/renderingengine.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client/inputhandler.h b/src/client/inputhandler.h index bc8251887..f14e7d801 100644 --- a/src/client/inputhandler.h +++ b/src/client/inputhandler.h @@ -247,8 +247,8 @@ public: } return m_mousepos; - } + virtual void setMousePos(s32 x, s32 y) { if (RenderingEngine::get_raw_device()->getCursorControl()) { diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp index 21af8948a..705871160 100644 --- a/src/client/renderingengine.cpp +++ b/src/client/renderingengine.cpp @@ -21,10 +21,12 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <IrrlichtDevice.h> #include <irrlicht.h> #include "fontengine.h" +#include "client.h" #include "clouds.h" #include "util/numeric.h" #include "guiscalingfilter.h" #include "hud.h" +#include "localplayer.h" #include "camera.h" #include "minimap.h" #include "clientmap.h" |