1
0
Fork 0
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:
Lars Müller 2025-07-09 10:35:52 +02:00 committed by GitHub
parent 7e22c72492
commit 61551cfc3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
381 changed files with 680 additions and 1632 deletions

View file

@ -75,7 +75,7 @@ public:
video::IVideoDriver *getVideoDriver() { return driver; }
static const VideoDriverInfo &getVideoDriverInfo(irr::video::E_DRIVER_TYPE type);
static const VideoDriverInfo &getVideoDriverInfo(video::E_DRIVER_TYPE type);
static float getDisplayDensity();
bool setupTopLevelWindow();
@ -112,7 +112,7 @@ public:
return m_device->getSceneManager();
}
static irr::IrrlichtDevice *get_raw_device()
static IrrlichtDevice *get_raw_device()
{
sanity_check(s_singleton && s_singleton->m_device);
return s_singleton->m_device;
@ -147,10 +147,10 @@ public:
return s_singleton->core->get_shadow_renderer();
return nullptr;
}
static std::vector<irr::video::E_DRIVER_TYPE> getSupportedVideoDrivers();
static std::vector<video::E_DRIVER_TYPE> getSupportedVideoDrivers();
static void autosaveScreensizeAndCo(
const irr::core::dimension2d<u32> initial_screen_size,
const core::dimension2d<u32> initial_screen_size,
const bool initial_window_maximized);
static PointerType getLastPointerType()
@ -164,8 +164,8 @@ private:
v2u32 _getWindowSize() const;
std::unique_ptr<RenderingCore> core;
irr::IrrlichtDevice *m_device = nullptr;
irr::video::IVideoDriver *driver;
IrrlichtDevice *m_device = nullptr;
video::IVideoDriver *driver;
MyEventReceiver *m_receiver = nullptr;
static RenderingEngine *s_singleton;
};