1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-19 13:25:47 +01:00

Irrlicht: remove some dead code

This commit is contained in:
sfan5
2025-11-03 14:43:52 +01:00
parent 2368126d0a
commit 8042b5512f
22 changed files with 9 additions and 452 deletions

View File

@@ -12,7 +12,6 @@
#include "IMesh.h"
#include "IMeshBuffer.h"
#include "IMeshSceneNode.h"
#include "CFPSCounter.h"
#include "S3DVertex.h"
#include "SVertexIndex.h"
#include "SExposedVideoData.h"
@@ -175,9 +174,6 @@ public:
f32 &start, f32 &end, f32 &density,
bool &pixelFog, bool &rangeFog) override;
//! get color format of the current color buffer
ECOLOR_FORMAT getColorFormat() const override;
//! get screen size
const core::dimension2d<u32> &getScreenSize() const override;
@@ -187,9 +183,6 @@ public:
//! get render target size
const core::dimension2d<u32> &getCurrentRenderTargetSize() const override;
// get current frames per second value
s32 getFPS() const override;
SFrameStats getFrameStats() const override;
//! \return Returns the name of the video driver. Example: In case of the DIRECT3D8
@@ -222,13 +215,6 @@ public:
ITexture *addRenderTargetTextureCubemap(const u32 sideLen,
const io::path &name, const ECOLOR_FORMAT format) override;
//! Creates an 1bit alpha channel of the texture based of an color key.
void makeColorKeyTexture(video::ITexture *texture, video::SColor color) const override;
//! Creates an 1bit alpha channel of the texture based of an color key position.
virtual void makeColorKeyTexture(video::ITexture *texture,
core::position2d<s32> colorKeyPixelPos) const override;
SDriverLimits getLimits() const override;
//! Enables or disables a texture creation flag.
@@ -436,8 +422,6 @@ public:
//! Returns amount of currently available material renderers.
u32 getMaterialRendererCount() const override;
//! Returns name of the material renderer
const char *getMaterialRendererName(u32 idx) const override;
//! Adds a new material renderer to the VideoDriver, based on a high level shading language.
virtual s32 addHighLevelShaderMaterial(
@@ -492,9 +476,6 @@ public:
//! Writes the provided image to a file.
bool writeImageToFile(IImage *image, io::IWriteFile *file, u32 param = 0) override;
//! Sets the name of a material renderer.
void setMaterialRendererName(u32 idx, const char *name) override;
//! Swap the material renderers used for certain id's
void swapMaterialRenderers(u32 idx1, u32 idx2, bool swapNames) override;
@@ -692,7 +673,6 @@ protected:
core::dimension2d<u32> ScreenSize;
core::matrix4 TransformationMatrix;
CFPSCounter FPSCounter;
SFrameStats FrameStats;
u32 MinVertexCountForVBO;