forked from Mirrorlandia_minetest/irrlicht
Clean-up include dependencies in gui and io modules
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6525 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
1d58677e18
commit
80ce85ecc2
@ -2,7 +2,6 @@
|
|||||||
// This file is part of the "Irrlicht Engine".
|
// This file is part of the "Irrlicht Engine".
|
||||||
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
||||||
|
|
||||||
#include "CAttributes.h"
|
|
||||||
#include "fast_atof.h"
|
#include "fast_atof.h"
|
||||||
#include "ITexture.h"
|
#include "ITexture.h"
|
||||||
#include "IVideoDriver.h"
|
#include "IVideoDriver.h"
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
||||||
|
|
||||||
#include "CFileList.h"
|
#include "CFileList.h"
|
||||||
#include "IrrCompileConfig.h"
|
|
||||||
#include "irrArray.h"
|
#include "irrArray.h"
|
||||||
#include "coreutil.h"
|
#include "coreutil.h"
|
||||||
|
|
||||||
#include "os.h"
|
#include "os.h" // debug logging
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -12,10 +12,6 @@
|
|||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "IGUIStaticText.h"
|
#include "IGUIStaticText.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IGUISpriteBank.h"
|
|
||||||
#include "IFileList.h"
|
|
||||||
#include "os.h"
|
|
||||||
#include "fast_atof.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -6,13 +6,11 @@
|
|||||||
#ifdef _IRR_COMPILE_WITH_GUI_
|
#ifdef _IRR_COMPILE_WITH_GUI_
|
||||||
|
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "CGUIListBox.h"
|
#include "CGUIListBox.h"
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IGUISpriteBank.h"
|
#include "IGUISpriteBank.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "rect.h"
|
#include "rect.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "Keycodes.h"
|
#include "Keycodes.h"
|
||||||
|
@ -9,13 +9,9 @@
|
|||||||
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "IGUIStaticText.h"
|
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IGUIFontBitmap.h"
|
|
||||||
#include "IFileList.h"
|
#include "IFileList.h"
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include "CGUIListBox.h"
|
#include "CGUIListBox.h"
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IGUISpriteBank.h"
|
#include "IGUISpriteBank.h"
|
||||||
#include "CGUIScrollBar.h"
|
#include "CGUIScrollBar.h"
|
||||||
|
@ -7,12 +7,9 @@
|
|||||||
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IGUIWindow.h"
|
#include "IGUIWindow.h"
|
||||||
|
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
namespace gui
|
namespace gui
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "IGUIFont.h"
|
|
||||||
#include "ITexture.h"
|
#include "ITexture.h"
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#include "CGUIWindow.h"
|
#include "CGUIWindow.h"
|
||||||
#include "IGUIStaticText.h"
|
#include "IGUIStaticText.h"
|
||||||
#include "IGUIImage.h"
|
#include "IGUIImage.h"
|
||||||
#include "irrArray.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include "IGUITable.h"
|
#include "IGUITable.h"
|
||||||
#include "IGUIScrollBar.h"
|
#include "IGUIScrollBar.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "CProfiler.h"
|
#include "IProfiler.h"
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -7,11 +7,7 @@
|
|||||||
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "CGUIButton.h"
|
#include "CGUIButton.h"
|
||||||
#include "IGUIFont.h"
|
|
||||||
#include "IGUIFontBitmap.h"
|
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -4,12 +4,11 @@
|
|||||||
#include "CGUISpinBox.h"
|
#include "CGUISpinBox.h"
|
||||||
#ifdef _IRR_COMPILE_WITH_GUI_
|
#ifdef _IRR_COMPILE_WITH_GUI_
|
||||||
|
|
||||||
#include "CGUIEditBox.h"
|
#include "IGUIEditBox.h"
|
||||||
#include "CGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IEventReceiver.h"
|
#include "IEventReceiver.h"
|
||||||
#include "fast_atof.h"
|
#include "fast_atof.h"
|
||||||
#include <wchar.h>
|
|
||||||
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
@ -131,7 +130,7 @@ void CGUISpinBox::setRange(f32 min, f32 max)
|
|||||||
RangeMin = min;
|
RangeMin = min;
|
||||||
RangeMax = max;
|
RangeMax = max;
|
||||||
|
|
||||||
// we have to round the range - otherwise we can get into an infinte setValue/verifyValueRange cycle.
|
// we have to round the range - otherwise we can get into an infinite setValue/verifyValueRange cycle.
|
||||||
wchar_t str[100];
|
wchar_t str[100];
|
||||||
swprintf_irr(str, 99, FormatString.c_str(), RangeMin);
|
swprintf_irr(str, 99, FormatString.c_str(), RangeMin);
|
||||||
RangeMin = core::fast_atof(core::stringc(str).c_str());
|
RangeMin = core::fast_atof(core::stringc(str).c_str());
|
||||||
|
@ -5,13 +5,12 @@
|
|||||||
#include "CGUITabControl.h"
|
#include "CGUITabControl.h"
|
||||||
#ifdef _IRR_COMPILE_WITH_GUI_
|
#ifdef _IRR_COMPILE_WITH_GUI_
|
||||||
|
|
||||||
#include "CGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IVideoDriver.h"
|
#include "IVideoDriver.h"
|
||||||
#include "rect.h"
|
#include "rect.h"
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#include "IGUITabControl.h"
|
#include "IGUITabControl.h"
|
||||||
#include "irrArray.h"
|
#include "irrArray.h"
|
||||||
#include "IGUISkin.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -12,8 +12,7 @@
|
|||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
#include "IVideoDriver.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "CGUIScrollBar.h"
|
#include "IGUIScrollBar.h"
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
#define ARROW_PAD 15
|
#define ARROW_PAD 15
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "CGUIButton.h"
|
#include "CGUIButton.h"
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
#include "IVideoDriver.h"
|
#include "IVideoDriver.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "CGUIScrollBar.h"
|
#include "CGUIScrollBar.h"
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -7,10 +7,8 @@
|
|||||||
|
|
||||||
#include "IGUISkin.h"
|
#include "IGUISkin.h"
|
||||||
#include "IGUIEnvironment.h"
|
#include "IGUIEnvironment.h"
|
||||||
#include "IVideoDriver.h"
|
|
||||||
#include "IGUIButton.h"
|
#include "IGUIButton.h"
|
||||||
#include "IGUIFont.h"
|
#include "IGUIFont.h"
|
||||||
#include "IGUIFontBitmap.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
||||||
|
|
||||||
#include "CLimitReadFile.h"
|
#include "CLimitReadFile.h"
|
||||||
#include "irrString.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#define IRR_C_LIMIT_READ_FILE_H_INCLUDED
|
#define IRR_C_LIMIT_READ_FILE_H_INCLUDED
|
||||||
|
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrString.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
||||||
|
|
||||||
#include "CMemoryFile.h"
|
#include "CMemoryFile.h"
|
||||||
#include "irrString.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
#include "IMemoryReadFile.h"
|
#include "IMemoryReadFile.h"
|
||||||
#include "IWriteFile.h"
|
#include "IWriteFile.h"
|
||||||
#include "irrString.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#ifdef __IRR_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_
|
#ifdef __IRR_COMPILE_WITH_MOUNT_ARCHIVE_LOADER_
|
||||||
|
|
||||||
#include "CReadFile.h"
|
#include "CReadFile.h"
|
||||||
#include "os.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
|
|
||||||
#ifdef __IRR_COMPILE_WITH_NPK_ARCHIVE_LOADER_
|
#ifdef __IRR_COMPILE_WITH_NPK_ARCHIVE_LOADER_
|
||||||
|
|
||||||
#include "IReferenceCounted.h"
|
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrArray.h"
|
|
||||||
#include "irrString.h"
|
#include "irrString.h"
|
||||||
#include "IFileSystem.h"
|
#include "IFileSystem.h"
|
||||||
#include "CFileList.h"
|
#include "CFileList.h"
|
||||||
|
@ -9,10 +9,7 @@
|
|||||||
|
|
||||||
#ifdef __IRR_COMPILE_WITH_PAK_ARCHIVE_LOADER_
|
#ifdef __IRR_COMPILE_WITH_PAK_ARCHIVE_LOADER_
|
||||||
|
|
||||||
#include "IReferenceCounted.h"
|
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrArray.h"
|
|
||||||
#include "irrString.h"
|
|
||||||
#include "IFileSystem.h"
|
#include "IFileSystem.h"
|
||||||
#include "CFileList.h"
|
#include "CFileList.h"
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrString.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#ifdef __IRR_COMPILE_WITH_TAR_ARCHIVE_LOADER_
|
#ifdef __IRR_COMPILE_WITH_TAR_ARCHIVE_LOADER_
|
||||||
|
|
||||||
#include "CFileList.h"
|
#include "CFileList.h"
|
||||||
#include "CLimitReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "coreutil.h"
|
#include "coreutil.h"
|
||||||
#include "errno.h"
|
#include "errno.h"
|
||||||
|
@ -9,10 +9,7 @@
|
|||||||
|
|
||||||
#ifdef __IRR_COMPILE_WITH_TAR_ARCHIVE_LOADER_
|
#ifdef __IRR_COMPILE_WITH_TAR_ARCHIVE_LOADER_
|
||||||
|
|
||||||
#include "IReferenceCounted.h"
|
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrArray.h"
|
|
||||||
#include "irrString.h"
|
|
||||||
#include "IFileSystem.h"
|
#include "IFileSystem.h"
|
||||||
#include "CFileList.h"
|
#include "CFileList.h"
|
||||||
|
|
||||||
|
@ -8,9 +8,7 @@
|
|||||||
#include "IrrCompileConfig.h"
|
#include "IrrCompileConfig.h"
|
||||||
#ifdef __IRR_COMPILE_WITH_WAD_ARCHIVE_LOADER_
|
#ifdef __IRR_COMPILE_WITH_WAD_ARCHIVE_LOADER_
|
||||||
|
|
||||||
#include "IReferenceCounted.h"
|
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrArray.h"
|
|
||||||
#include "irrString.h"
|
#include "irrString.h"
|
||||||
#include "IFileSystem.h"
|
#include "IFileSystem.h"
|
||||||
#include "CFileList.h"
|
#include "CFileList.h"
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
||||||
|
|
||||||
#include "CWriteFile.h"
|
#include "CWriteFile.h"
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "IWriteFile.h"
|
#include "IWriteFile.h"
|
||||||
#include "irrString.h"
|
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_XML_
|
#ifdef _IRR_COMPILE_WITH_XML_
|
||||||
|
|
||||||
#include <wchar.h>
|
|
||||||
#include "irrString.h"
|
#include "irrString.h"
|
||||||
#include "IrrCompileConfig.h"
|
#include "IrrCompileConfig.h"
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrArray.h"
|
#include "irrArray.h"
|
||||||
#include "irrString.h"
|
|
||||||
#include "IFileSystem.h"
|
#include "IFileSystem.h"
|
||||||
#include "CFileList.h"
|
#include "CFileList.h"
|
||||||
|
|
||||||
|
@ -6,9 +6,6 @@
|
|||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_XML_
|
#ifdef _IRR_COMPILE_WITH_XML_
|
||||||
|
|
||||||
#include "irrString.h"
|
|
||||||
#include "irrArray.h"
|
|
||||||
#include "fast_atof.h"
|
|
||||||
#include "CXMLReaderImpl.h"
|
#include "CXMLReaderImpl.h"
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
|
Loading…
Reference in New Issue
Block a user