From 6025242ee97fd8552893012b583dbf68839a6223 Mon Sep 17 00:00:00 2001 From: cutealien Date: Fri, 27 Aug 2021 19:26:01 +0000 Subject: [PATCH] Fix compiling Android and iOS git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6258 dfc29bdd-3216-0410-991c-e03cc46cb475 --- .../Android/CAndroidAssetFileArchive.h | 4 +- source/Irrlicht/CIrrDeviceiOS.h | 58 +++++++++---------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/source/Irrlicht/Android/CAndroidAssetFileArchive.h b/source/Irrlicht/Android/CAndroidAssetFileArchive.h index 7acf9f4..db63eeb 100644 --- a/source/Irrlicht/Android/CAndroidAssetFileArchive.h +++ b/source/Irrlicht/Android/CAndroidAssetFileArchive.h @@ -48,13 +48,13 @@ namespace io //! get the archive type virtual E_FILE_ARCHIVE_TYPE getType() const; - //! Add a directory to read files from. Since the Android + //! Add a directory to read files from. Since the Android //! API does not return names of directories, they need to //! be added manually. virtual void addDirectoryToFileList(const io::path &filename); //! return the name (id) of the file Archive - virtual const io::path& getArchiveName() const _IRR_OVERRIDE_ {return Path;} + virtual const io::path& getArchiveName() const IRR_OVERRIDE {return Path;} protected: //! Android's asset manager diff --git a/source/Irrlicht/CIrrDeviceiOS.h b/source/Irrlicht/CIrrDeviceiOS.h index 6a80e41..e2d1830 100644 --- a/source/Irrlicht/CIrrDeviceiOS.h +++ b/source/Irrlicht/CIrrDeviceiOS.h @@ -24,49 +24,49 @@ namespace irr CIrrDeviceiOS(const SIrrlichtCreationParameters& params); virtual ~CIrrDeviceiOS(); - virtual bool run() _IRR_OVERRIDE_; - virtual void yield() _IRR_OVERRIDE_; - virtual void sleep(u32 timeMs, bool pauseTimer) _IRR_OVERRIDE_; + virtual bool run() IRR_OVERRIDE; + virtual void yield() IRR_OVERRIDE; + virtual void sleep(u32 timeMs, bool pauseTimer) IRR_OVERRIDE; - virtual void setWindowCaption(const wchar_t* text) _IRR_OVERRIDE_; + virtual void setWindowCaption(const wchar_t* text) IRR_OVERRIDE; - virtual bool isWindowActive() const _IRR_OVERRIDE_; - virtual bool isWindowFocused() const _IRR_OVERRIDE_; - virtual bool isWindowMinimized() const _IRR_OVERRIDE_; + virtual bool isWindowActive() const IRR_OVERRIDE; + virtual bool isWindowFocused() const IRR_OVERRIDE; + virtual bool isWindowMinimized() const IRR_OVERRIDE; - virtual bool present(video::IImage* surface, void * windowId = 0, core::rect* src = 0) _IRR_OVERRIDE_; + virtual bool present(video::IImage* surface, void * windowId = 0, core::rect* src = 0) IRR_OVERRIDE; - virtual void closeDevice() _IRR_OVERRIDE_; + virtual void closeDevice() IRR_OVERRIDE; - virtual void setResizable(bool resize = false) _IRR_OVERRIDE_; + virtual void setResizable(bool resize = false) IRR_OVERRIDE; - virtual void minimizeWindow() _IRR_OVERRIDE_; - virtual void maximizeWindow() _IRR_OVERRIDE_; - virtual void restoreWindow() _IRR_OVERRIDE_; + virtual void minimizeWindow() IRR_OVERRIDE; + virtual void maximizeWindow() IRR_OVERRIDE; + virtual void restoreWindow() IRR_OVERRIDE; - virtual core::position2di getWindowPosition() _IRR_OVERRIDE_; + virtual core::position2di getWindowPosition() IRR_OVERRIDE; - virtual bool activateAccelerometer(float updateInterval = 0.016666f) _IRR_OVERRIDE_; - virtual bool deactivateAccelerometer() _IRR_OVERRIDE_; - virtual bool isAccelerometerActive() _IRR_OVERRIDE_; - virtual bool isAccelerometerAvailable() _IRR_OVERRIDE_; - virtual bool activateGyroscope(float updateInterval = 0.016666f) _IRR_OVERRIDE_; - virtual bool deactivateGyroscope() _IRR_OVERRIDE_; - virtual bool isGyroscopeActive() _IRR_OVERRIDE_; - virtual bool isGyroscopeAvailable() _IRR_OVERRIDE_; - virtual bool activateDeviceMotion(float updateInterval = 0.016666f) _IRR_OVERRIDE_; - virtual bool deactivateDeviceMotion() _IRR_OVERRIDE_; - virtual bool isDeviceMotionActive() _IRR_OVERRIDE_; - virtual bool isDeviceMotionAvailable() _IRR_OVERRIDE_; + virtual bool activateAccelerometer(float updateInterval = 0.016666f) IRR_OVERRIDE; + virtual bool deactivateAccelerometer() IRR_OVERRIDE; + virtual bool isAccelerometerActive() IRR_OVERRIDE; + virtual bool isAccelerometerAvailable() IRR_OVERRIDE; + virtual bool activateGyroscope(float updateInterval = 0.016666f) IRR_OVERRIDE; + virtual bool deactivateGyroscope() IRR_OVERRIDE; + virtual bool isGyroscopeActive() IRR_OVERRIDE; + virtual bool isGyroscopeAvailable() IRR_OVERRIDE; + virtual bool activateDeviceMotion(float updateInterval = 0.016666f) IRR_OVERRIDE; + virtual bool deactivateDeviceMotion() IRR_OVERRIDE; + virtual bool isDeviceMotionActive() IRR_OVERRIDE; + virtual bool isDeviceMotionAvailable() IRR_OVERRIDE; - virtual E_DEVICE_TYPE getType() const _IRR_OVERRIDE_; + virtual E_DEVICE_TYPE getType() const IRR_OVERRIDE; private: void createWindow(); void createViewAndDriver(); - + void* DataStorage; - + bool Close; };