m_rendering_engine->get_raw_device()->getCursorControl()->setVisible(true);
// Set absolute mouse mode
-#if IRRLICHT_VERSION_MT_REVISION >= 9
m_rendering_engine->get_raw_device()->getCursorControl()->setRelativeMode(false);
#endif
-#endif
-
-
/* show main menu */
GUIEngine mymenu(&input->joystick, guiroot, m_rendering_engine, &g_menumgr, menudata, *kill);
void Game::updateCameraDirection(CameraOrientation *cam, float dtime)
{
-#if !defined(__ANDROID__) && IRRLICHT_VERSION_MT_REVISION >= 9
+#ifndef __ANDROID__
if (isMenuActive())
device->getCursorControl()->setRelativeMode(false);
else
#include <algorithm>
#include <ICameraSceneNode.h>
-#include <IrrCompileConfig.h>
#include "util/string.h"
#include "util/container.h"
#include "util/thread.h"
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <IrrCompileConfig.h>
#include "settings.h"
#include "porting.h"
#include "filesys.h"
settings->setDefault("texture_path", "");
settings->setDefault("shader_path", "");
#if ENABLE_GLES
-#ifdef _IRR_COMPILE_WITH_OGLES1_
- settings->setDefault("video_driver", "ogles1");
-#else
settings->setDefault("video_driver", "ogles2");
-#endif
#else
settings->setDefault("video_driver", "opengl");
#endif
\r
#pragma once\r
\r
-#include "IrrCompileConfig.h"\r
-\r
#include <IGUIStaticText.h>\r
#include "irrlicht_changes/static_text.h"\r
#include "IGUIButton.h"\r
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "IrrCompileConfig.h"
#include "guiChatConsole.h"
#include "chat.h"
#include "client/client.h"
#include "guiEditBox.h"
-#include "IrrCompileConfig.h"
#include "IGUISkin.h"
#include "IGUIEnvironment.h"
#include "IGUIFont.h"
// For conditions of distribution and use, see copyright notice in irrlicht.h\r
\r
#include "guiSkin.h"\r
-#ifdef _IRR_COMPILE_WITH_GUI_\r
\r
#include "IGUIFont.h"\r
#include "IGUISpriteBank.h"\r
\r
} // end namespace gui\r
} // end namespace irr\r
-\r
-\r
-#endif // _IRR_COMPILE_WITH_GUI_\r
-\r
#ifndef __GUI_SKIN_H_INCLUDED__\r
#define __GUI_SKIN_H_INCLUDED__\r
\r
-#include "IrrCompileConfig.h"\r
-#ifdef _IRR_COMPILE_WITH_GUI_\r
-\r
#include "IGUISkin.h"\r
#include "irrString.h"\r
#include <string>\r
}\r
} // end namespace irr\r
\r
-\r
-#endif // _IRR_COMPILE_WITH_GUI_\r
-\r
#endif\r
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "static_text.h"
-#ifdef _IRR_COMPILE_WITH_GUI_
#include <IGUIFont.h>
#include <IVideoDriver.h>
} // end namespace gui
} // end namespace irr
-
-
-#endif // _IRR_COMPILE_WITH_GUI_
#pragma once
-#include "IrrCompileConfig.h"
-#ifdef _IRR_COMPILE_WITH_GUI_
-
#include "IGUIStaticText.h"
#include "irrArray.h"
{
setStaticText(static_text, EnrichedString(text, static_text->getOverrideColor()));
}
-
-#endif // _IRR_COMPILE_WITH_GUI_