mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
main.cpp: server-only builds should not include client headers
This commit is contained in:
parent
a3c298e1d1
commit
151c95bb9b
@ -18,7 +18,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "irrlicht.h" // createDevice
|
#include "irrlicht.h" // createDevice
|
||||||
#include "mainmenumanager.h"
|
|
||||||
#include "irrlichttypes_extrabloated.h"
|
#include "irrlichttypes_extrabloated.h"
|
||||||
#include "chat_interface.h"
|
#include "chat_interface.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
@ -26,14 +25,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include "filesys.h"
|
#include "filesys.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "guiMainMenu.h"
|
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
#include "defaultsettings.h"
|
#include "defaultsettings.h"
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "quicktune.h"
|
#include "quicktune.h"
|
||||||
#include "httpfetch.h"
|
#include "httpfetch.h"
|
||||||
#include "guiEngine.h"
|
|
||||||
#include "gameparams.h"
|
#include "gameparams.h"
|
||||||
#include "database.h"
|
#include "database.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -44,7 +41,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "terminal_chat_console.h"
|
#include "terminal_chat_console.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef SERVER
|
#ifndef SERVER
|
||||||
|
#include "guiMainMenu.h"
|
||||||
#include "client/clientlauncher.h"
|
#include "client/clientlauncher.h"
|
||||||
|
#include "guiEngine.h"
|
||||||
|
#include "mainmenumanager.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_TOUCHSCREENGUI
|
#ifdef HAVE_TOUCHSCREENGUI
|
||||||
|
Loading…
Reference in New Issue
Block a user