From 85511a642f851100d0d856f4ecbe7fea7a7bb049 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 16 Aug 2017 22:11:45 +0200 Subject: Cleanup various headers to reduce compilation times (#6255) * Cleanup various headers to reduce compilation times --- src/client/inputhandler.h | 2 +- src/client/renderingengine.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client') 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 #include #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" -- cgit v1.2.3