mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Cleanup various headers to reduce compilation times (#6255)
* Cleanup various headers to reduce compilation times
This commit is contained in:
parent
816bca32ac
commit
85511a642f
51 changed files with 94 additions and 84 deletions
|
@ -30,7 +30,7 @@ extern "C" {
|
|||
}
|
||||
|
||||
#ifndef SERVER
|
||||
#include "client.h"
|
||||
class Client;
|
||||
#endif
|
||||
|
||||
class ScriptApiBase;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "l_internal.h"
|
||||
#include "content_cao.h"
|
||||
#include "camera.h"
|
||||
#include "client.h"
|
||||
|
||||
LuaCamera::LuaCamera(Camera *m) : m_camera(m)
|
||||
{
|
||||
|
|
|
@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
#include "l_client.h"
|
||||
#include "chatmessage.h"
|
||||
#include "client.h"
|
||||
#include "clientenvironment.h"
|
||||
#include "common/c_content.h"
|
||||
#include "common/c_converter.h"
|
||||
|
|
|
@ -37,6 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "emerge.h"
|
||||
#include "pathfinder.h"
|
||||
#include "face_position_cache.h"
|
||||
#ifndef SERVER
|
||||
#include "client.h"
|
||||
#endif
|
||||
|
||||
struct EnumString ModApiEnvMod::es_ClearObjectsMode[] =
|
||||
{
|
||||
|
|
|
@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "l_localplayer.h"
|
||||
#include "l_internal.h"
|
||||
#include "script/common/c_converter.h"
|
||||
#include "localplayer.h"
|
||||
|
||||
LuaLocalPlayer::LuaLocalPlayer(LocalPlayer *m) : m_localplayer(m)
|
||||
{
|
||||
|
|
|
@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "lua_api/l_minimap.h"
|
||||
#include "lua_api/l_internal.h"
|
||||
#include "common/c_converter.h"
|
||||
#include "client.h"
|
||||
#include "minimap.h"
|
||||
#include "settings.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue