From d6be6682ec69706b765ab51863bcd5805a7cbd7d Mon Sep 17 00:00:00 2001 From: numzero Date: Wed, 22 Feb 2023 21:38:32 +0300 Subject: Drop dependency on IrrCompileConfig The only remaining thing is IRRLICHT_SDK_VERSION via irrlicht.h --- src/gui/guiButton.h | 2 -- src/gui/guiChatConsole.cpp | 1 - src/gui/guiEditBox.cpp | 1 - src/gui/guiSkin.cpp | 5 ----- src/gui/guiSkin.h | 6 ------ 5 files changed, 15 deletions(-) (limited to 'src/gui') diff --git a/src/gui/guiButton.h b/src/gui/guiButton.h index 5e379b28f..31105bcda 100644 --- a/src/gui/guiButton.h +++ b/src/gui/guiButton.h @@ -4,8 +4,6 @@ #pragma once -#include "IrrCompileConfig.h" - #include #include "irrlicht_changes/static_text.h" #include "IGUIButton.h" diff --git a/src/gui/guiChatConsole.cpp b/src/gui/guiChatConsole.cpp index df4fd466b..ce58289b2 100644 --- a/src/gui/guiChatConsole.cpp +++ b/src/gui/guiChatConsole.cpp @@ -17,7 +17,6 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "IrrCompileConfig.h" #include "guiChatConsole.h" #include "chat.h" #include "client/client.h" diff --git a/src/gui/guiEditBox.cpp b/src/gui/guiEditBox.cpp index e25c9ace3..b6ee71ce9 100644 --- a/src/gui/guiEditBox.cpp +++ b/src/gui/guiEditBox.cpp @@ -19,7 +19,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "guiEditBox.h" -#include "IrrCompileConfig.h" #include "IGUISkin.h" #include "IGUIEnvironment.h" #include "IGUIFont.h" diff --git a/src/gui/guiSkin.cpp b/src/gui/guiSkin.cpp index ca692f6cb..5462a2fec 100644 --- a/src/gui/guiSkin.cpp +++ b/src/gui/guiSkin.cpp @@ -5,7 +5,6 @@ // For conditions of distribution and use, see copyright notice in irrlicht.h #include "guiSkin.h" -#ifdef _IRR_COMPILE_WITH_GUI_ #include "IGUIFont.h" #include "IGUISpriteBank.h" @@ -1036,7 +1035,3 @@ void GUISkin::getColors(video::SColor* colors) } // end namespace gui } // end namespace irr - - -#endif // _IRR_COMPILE_WITH_GUI_ - diff --git a/src/gui/guiSkin.h b/src/gui/guiSkin.h index fa9b27bdd..e90a61290 100644 --- a/src/gui/guiSkin.h +++ b/src/gui/guiSkin.h @@ -5,9 +5,6 @@ #ifndef __GUI_SKIN_H_INCLUDED__ #define __GUI_SKIN_H_INCLUDED__ -#include "IrrCompileConfig.h" -#ifdef _IRR_COMPILE_WITH_GUI_ - #include "IGUISkin.h" #include "irrString.h" #include @@ -360,7 +357,4 @@ inline void setShading(video::SColor &color,f32 s) // :PATCH: } } // end namespace irr - -#endif // _IRR_COMPILE_WITH_GUI_ - #endif -- cgit v1.2.3