mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-19 11:15:18 +02:00
Purge some dead code (mostly Irrlicht) (#16111)
* Remove obsolete Irrlicht attributes system
* Remove dead GUI element types
* Remove some obsolete Irrlicht headers
* Fix some oopsies from d96f5e1
This commit is contained in:
@@ -27,7 +27,7 @@ static const char *const copyright = "Irrlicht Engine (c) 2002-2017 Nikolaus Geb
|
||||
namespace irr
|
||||
{
|
||||
//! stub for calling createDeviceEx
|
||||
IRRLICHT_API IrrlichtDevice *IRRCALLCONV createDevice(video::E_DRIVER_TYPE driverType,
|
||||
IrrlichtDevice *createDevice(video::E_DRIVER_TYPE driverType,
|
||||
const core::dimension2d<u32> &windowSize,
|
||||
u32 bits, bool fullscreen,
|
||||
bool stencilbuffer, bool vsync, IEventReceiver *res)
|
||||
@@ -46,7 +46,7 @@ IRRLICHT_API IrrlichtDevice *IRRCALLCONV createDevice(video::E_DRIVER_TYPE drive
|
||||
return createDeviceEx(p);
|
||||
}
|
||||
|
||||
extern "C" IRRLICHT_API IrrlichtDevice *IRRCALLCONV createDeviceEx(const SIrrlichtCreationParameters ¶ms)
|
||||
extern "C" IrrlichtDevice *createDeviceEx(const SIrrlichtCreationParameters ¶ms)
|
||||
{
|
||||
|
||||
IrrlichtDevice *dev = 0;
|
||||
@@ -90,7 +90,7 @@ namespace video
|
||||
{
|
||||
const SMaterial IdentityMaterial;
|
||||
|
||||
extern "C" IRRLICHT_API bool IRRCALLCONV isDriverSupported(E_DRIVER_TYPE driver)
|
||||
extern "C" bool isDriverSupported(E_DRIVER_TYPE driver)
|
||||
{
|
||||
switch (driver) {
|
||||
case EDT_NULL:
|
||||
|
Reference in New Issue
Block a user