mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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:
parent
377fa5bb14
commit
f4285a59ac
39 changed files with 24 additions and 831 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue