mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Remove irr
namespace (#16309)
This commit is contained in:
parent
7e22c72492
commit
61551cfc3a
381 changed files with 680 additions and 1632 deletions
|
@ -18,8 +18,6 @@
|
|||
#include <string>
|
||||
#include <variant>
|
||||
|
||||
namespace irr
|
||||
{
|
||||
class ILogger;
|
||||
class IEventReceiver;
|
||||
|
||||
|
@ -78,7 +76,7 @@ public:
|
|||
also simply use your own message loop using GetMessage,
|
||||
DispatchMessage and whatever and simply don't use this method.
|
||||
But note that Irrlicht will not be able to fetch user input
|
||||
then. See irr::SIrrlichtCreationParameters::WindowId for more
|
||||
then. See SIrrlichtCreationParameters::WindowId for more
|
||||
information and example code.
|
||||
*/
|
||||
virtual bool run() = 0;
|
||||
|
@ -210,7 +208,7 @@ public:
|
|||
//! Sets a new user event receiver which will receive events from the engine.
|
||||
/** Return true in IEventReceiver::OnEvent to prevent the event from continuing along
|
||||
the chain of event receivers. The path that an event takes through the system depends
|
||||
on its type. See irr::EEVENT_TYPE for details.
|
||||
on its type. See EEVENT_TYPE for details.
|
||||
\param receiver New receiver to be used. */
|
||||
virtual void setEventReceiver(IEventReceiver *receiver) = 0;
|
||||
|
||||
|
@ -243,7 +241,7 @@ public:
|
|||
It does set the drawing/clientDC size of the window, the window decorations are added to that.
|
||||
You get the current window size with IVideoDriver::getScreenSize() (might be unified in future)
|
||||
*/
|
||||
virtual void setWindowSize(const irr::core::dimension2d<u32> &size) = 0;
|
||||
virtual void setWindowSize(const core::dimension2d<u32> &size) = 0;
|
||||
|
||||
//! Minimizes the window if possible.
|
||||
virtual void minimizeWindow() = 0;
|
||||
|
@ -260,7 +258,7 @@ public:
|
|||
//! Activate any joysticks, and generate events for them.
|
||||
/** Irrlicht contains support for joysticks, but does not generate joystick events by default,
|
||||
as this would consume joystick info that 3rd party libraries might rely on. Call this method to
|
||||
activate joystick support in Irrlicht and to receive irr::SJoystickEvent events.
|
||||
activate joystick support in Irrlicht and to receive SJoystickEvent events.
|
||||
\param joystickInfo On return, this will contain an array of each joystick that was found and activated.
|
||||
\return true if joysticks are supported on this device, false if joysticks are not
|
||||
supported or support is compiled out.
|
||||
|
@ -371,5 +369,3 @@ public:
|
|||
return Keycode(KEY_UNKNOWN, (wchar_t)scancode);
|
||||
}
|
||||
};
|
||||
|
||||
} // end namespace irr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue