mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Remove irr
namespace (#16309)
This commit is contained in:
parent
7e22c72492
commit
61551cfc3a
381 changed files with 680 additions and 1632 deletions
|
@ -8,8 +8,6 @@
|
|||
#include "Keycodes.h"
|
||||
#include "irrString.h"
|
||||
|
||||
namespace irr
|
||||
{
|
||||
//! Enumeration for all event types there are.
|
||||
enum EEVENT_TYPE
|
||||
{
|
||||
|
@ -297,7 +295,7 @@ enum EGUI_EVENT_TYPE
|
|||
};
|
||||
} // end namespace gui
|
||||
|
||||
//! SEvents hold information about an event. See irr::IEventReceiver for details on event handling.
|
||||
//! SEvents hold information about an event. See IEventReceiver for details on event handling.
|
||||
struct SEvent
|
||||
{
|
||||
//! Any kind of GUI event.
|
||||
|
@ -444,7 +442,7 @@ struct SEvent
|
|||
/** Unlike other events, joystick events represent the result of polling
|
||||
* each connected joystick once per run() of the device. Joystick events will
|
||||
* not be generated by default. If joystick support is available for the
|
||||
* active device, and @ref irr::IrrlichtDevice::activateJoysticks() has been
|
||||
* active device, and @ref IrrlichtDevice::activateJoysticks() has been
|
||||
* called, an event of this type will be generated once per joystick per
|
||||
* @ref IrrlichtDevice::run() regardless of whether the state of the joystick
|
||||
* has actually changed. */
|
||||
|
@ -553,7 +551,7 @@ struct SEvent
|
|||
/** Many of the engine's classes inherit IEventReceiver so they are able to
|
||||
process events. Events usually start at a postEventFromUser function and are
|
||||
passed down through a chain of event receivers until OnEvent returns true. See
|
||||
irr::EEVENT_TYPE for a description of where each type of event starts, and the
|
||||
EEVENT_TYPE for a description of where each type of event starts, and the
|
||||
path it takes through the system. */
|
||||
class IEventReceiver
|
||||
{
|
||||
|
@ -570,13 +568,13 @@ public:
|
|||
virtual bool OnEvent(const SEvent &event) = 0;
|
||||
};
|
||||
|
||||
//! Information on a joystick, returned from @ref irr::IrrlichtDevice::activateJoysticks()
|
||||
//! Information on a joystick, returned from @ref IrrlichtDevice::activateJoysticks()
|
||||
struct SJoystickInfo
|
||||
{
|
||||
//! The ID of the joystick
|
||||
/** This is an internal Irrlicht index; it does not map directly
|
||||
* to any particular hardware joystick. It corresponds to the
|
||||
* irr::SJoystickEvent Joystick ID. */
|
||||
* SJoystickEvent Joystick ID. */
|
||||
u8 Joystick;
|
||||
|
||||
//! The name that the joystick uses to identify itself.
|
||||
|
@ -605,5 +603,3 @@ struct SJoystickInfo
|
|||
POV_HAT_UNKNOWN
|
||||
} PovHat;
|
||||
}; // struct SJoystickInfo
|
||||
|
||||
} // end namespace irr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue