mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Remove more dead code (#108)
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
#include "CFPSCounter.h"
|
||||
#include "S3DVertex.h"
|
||||
#include "SVertexIndex.h"
|
||||
#include "SLight.h"
|
||||
#include "SExposedVideoData.h"
|
||||
#include <list>
|
||||
|
||||
@ -249,22 +248,6 @@ namespace video
|
||||
//! very useful method for statistics.
|
||||
virtual u32 getPrimitiveCountDrawn( u32 param = 0 ) const _IRR_OVERRIDE_;
|
||||
|
||||
//! deletes all dynamic lights there are
|
||||
virtual void deleteAllDynamicLights() _IRR_OVERRIDE_;
|
||||
|
||||
//! adds a dynamic light, returning an index to the light
|
||||
//! \param light: the light data to use to create the light
|
||||
//! \return An index to the light, or -1 if an error occurs
|
||||
virtual s32 addDynamicLight(const SLight& light) _IRR_OVERRIDE_;
|
||||
|
||||
//! Turns a dynamic light on or off
|
||||
//! \param lightIndex: the index returned by addDynamicLight
|
||||
//! \param turnOn: true to turn the light on, false to turn it off
|
||||
virtual void turnLightOn(s32 lightIndex, bool turnOn) _IRR_OVERRIDE_;
|
||||
|
||||
//! returns the maximal amount of dynamic lights the device can handle
|
||||
virtual u32 getMaximalDynamicLightAmount() const _IRR_OVERRIDE_;
|
||||
|
||||
//! \return Returns the name of the video driver. Example: In case of the DIRECT3D8
|
||||
//! driver, it would return "Direct3D8.1".
|
||||
virtual const wchar_t* getName() const _IRR_OVERRIDE_;
|
||||
@ -298,15 +281,6 @@ namespace video
|
||||
video::SColor leftDownEdge = video::SColor(0,0,0,0),
|
||||
video::SColor rightDownEdge = video::SColor(0,0,0,0)) _IRR_OVERRIDE_;
|
||||
|
||||
//! Returns current amount of dynamic lights set
|
||||
//! \return Current amount of dynamic lights set
|
||||
virtual u32 getDynamicLightCount() const _IRR_OVERRIDE_;
|
||||
|
||||
//! Returns light data which was previously set with IVideDriver::addDynamicLight().
|
||||
//! \param idx: Zero based index of the light. Must be greater than 0 and smaller
|
||||
//! than IVideoDriver()::getDynamicLightCount.
|
||||
//! \return Light data.
|
||||
virtual const SLight& getDynamicLight(u32 idx) const _IRR_OVERRIDE_;
|
||||
|
||||
//! Removes a texture from the texture cache and deletes it, freeing lot of
|
||||
//! memory.
|
||||
@ -819,7 +793,6 @@ namespace video
|
||||
|
||||
core::array<video::IImageLoader*> SurfaceLoader;
|
||||
core::array<video::IImageWriter*> SurfaceWriter;
|
||||
core::array<SLight> Lights;
|
||||
core::array<SMaterialRenderer> MaterialRenderers;
|
||||
|
||||
std::list<SHWBufferLink*> HWBufferList;
|
||||
|
Reference in New Issue
Block a user