mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 10:45:27 +02:00
Reduce include count in headers
This commit is contained in:
@@ -17,16 +17,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "client/texturesource.h"
|
||||
#include "client/fontengine.h"
|
||||
#include "debug.h"
|
||||
#include "irrlichttypes_extrabloated.h"
|
||||
#include "irrlichttypes_bloated.h"
|
||||
#include "util/string.h"
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
#pragma once
|
||||
|
||||
class StyleSpec
|
||||
{
|
||||
|
@@ -19,6 +19,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
#include "client/guiscalingfilter.h"
|
||||
#include "log.h"
|
||||
#include "client/texturesource.h"
|
||||
#include <ITexture.h>
|
||||
|
||||
GUIBackgroundImage::GUIBackgroundImage(gui::IGUIEnvironment *env,
|
||||
gui::IGUIElement *parent, s32 id, const core::rect<s32> &rectangle,
|
||||
|
@@ -38,6 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include <IGUIImage.h>
|
||||
#include <IAnimatedMeshSceneNode.h>
|
||||
#include "client/renderingengine.h"
|
||||
#include "client/joystick_controller.h"
|
||||
#include "log.h"
|
||||
#include "client/hud.h" // drawItemStack
|
||||
#include "filesys.h"
|
||||
|
@@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include <stack>
|
||||
#include <unordered_set>
|
||||
|
||||
#include "irrlichttypes_extrabloated.h"
|
||||
#include "irrlichttypes_bloated.h"
|
||||
#include "irr_ptr.h"
|
||||
#include "inventory.h"
|
||||
#include "inventorymanager.h"
|
||||
@@ -32,8 +32,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "guiInventoryList.h"
|
||||
#include "guiScrollBar.h"
|
||||
#include "guiTable.h"
|
||||
#include "network/networkprotocol.h"
|
||||
#include "client/joystick_controller.h"
|
||||
#include "util/string.h"
|
||||
#include "util/enriched_string.h"
|
||||
#include "StyleSpec.h"
|
||||
@@ -45,6 +43,7 @@ class ISimpleTextureSource;
|
||||
class Client;
|
||||
class GUIScrollContainer;
|
||||
class ISoundManager;
|
||||
class JoystickController;
|
||||
|
||||
enum FormspecFieldType {
|
||||
f_Button,
|
||||
|
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "guiHyperText.h"
|
||||
#include "guiScrollBar.h"
|
||||
#include "client/fontengine.h"
|
||||
#include "client/hud.h" // drawItemStack
|
||||
#include "IVideoDriver.h"
|
||||
#include "client/client.h"
|
||||
#include "client/renderingengine.h"
|
||||
|
@@ -19,7 +19,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
#include "guiItemImage.h"
|
||||
#include "client/client.h"
|
||||
#include "client/hud.h" // drawItemStack
|
||||
#include "inventory.h"
|
||||
#include <IGUIFont.h>
|
||||
|
||||
GUIItemImage::GUIItemImage(gui::IGUIEnvironment *env, gui::IGUIElement *parent,
|
||||
s32 id, const core::rect<s32> &rectangle, const std::string &item_name,
|
||||
|
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "guiPathSelectMenu.h"
|
||||
#include "guiFormSpecMenu.h" //required because of TextDest only !!!
|
||||
|
||||
GUIFileSelectMenu::GUIFileSelectMenu(gui::IGUIEnvironment* env,
|
||||
gui::IGUIElement* parent, s32 id, IMenuManager *menumgr,
|
||||
|
@@ -23,7 +23,8 @@
|
||||
|
||||
#include "modalMenu.h"
|
||||
#include "IGUIFileOpenDialog.h"
|
||||
#include "guiFormSpecMenu.h" //required because of TextDest only !!!
|
||||
|
||||
struct TextDest;
|
||||
|
||||
class GUIFileSelectMenu : public GUIModalMenu
|
||||
{
|
||||
|
Reference in New Issue
Block a user