mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Clean up unused Forward Declarations (#16324)
This commit is contained in:
parent
60cd83a332
commit
93dd22b901
67 changed files with 12 additions and 127 deletions
|
@ -7,10 +7,6 @@
|
||||||
#include "IReferenceCounted.h"
|
#include "IReferenceCounted.h"
|
||||||
#include "IFileArchive.h"
|
#include "IFileArchive.h"
|
||||||
|
|
||||||
namespace video
|
|
||||||
{
|
|
||||||
class IVideoDriver;
|
|
||||||
} // end namespace video
|
|
||||||
namespace io
|
namespace io
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -8,15 +8,9 @@
|
||||||
#include "EPrimitiveTypes.h"
|
#include "EPrimitiveTypes.h"
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
|
|
||||||
namespace io
|
|
||||||
{
|
|
||||||
class IReadFile;
|
|
||||||
} // end namespace io
|
|
||||||
|
|
||||||
namespace video
|
namespace video
|
||||||
{
|
{
|
||||||
|
|
||||||
class IVideoDriver;
|
|
||||||
class IShaderConstantSetCallBack;
|
class IShaderConstantSetCallBack;
|
||||||
|
|
||||||
//! Interface making it possible to create and use programs running on the GPU.
|
//! Interface making it possible to create and use programs running on the GPU.
|
||||||
|
|
|
@ -16,8 +16,6 @@ class IEventReceiver;
|
||||||
|
|
||||||
namespace io
|
namespace io
|
||||||
{
|
{
|
||||||
class IReadFile;
|
|
||||||
class IWriteFile;
|
|
||||||
class IFileSystem;
|
class IFileSystem;
|
||||||
} // end namespace io
|
} // end namespace io
|
||||||
namespace video
|
namespace video
|
||||||
|
@ -44,7 +42,6 @@ class IGUITabControl;
|
||||||
class IGUITab;
|
class IGUITab;
|
||||||
class IGUIComboBox;
|
class IGUIComboBox;
|
||||||
class IGUIButton;
|
class IGUIButton;
|
||||||
class IGUIWindow;
|
|
||||||
|
|
||||||
//! GUI Environment. Used as factory and manager of all other GUI elements.
|
//! GUI Environment. Used as factory and manager of all other GUI elements.
|
||||||
/** \par This element can create the following events of type EGUI_EVENT_TYPE (which are passed on to focused sub-elements):
|
/** \par This element can create the following events of type EGUI_EVENT_TYPE (which are passed on to focused sub-elements):
|
||||||
|
|
|
@ -11,8 +11,6 @@ namespace scene
|
||||||
{
|
{
|
||||||
class IMesh;
|
class IMesh;
|
||||||
class IAnimatedMesh;
|
class IAnimatedMesh;
|
||||||
class IAnimatedMeshSceneNode;
|
|
||||||
class IMeshLoader;
|
|
||||||
|
|
||||||
//! The mesh cache stores already loaded meshes and provides an interface to them.
|
//! The mesh cache stores already loaded meshes and provides an interface to them.
|
||||||
/** You can access it using ISceneManager::getMeshCache(). All existing
|
/** You can access it using ISceneManager::getMeshCache(). All existing
|
||||||
|
|
|
@ -11,28 +11,16 @@
|
||||||
#include "SColor.h"
|
#include "SColor.h"
|
||||||
#include "ESceneNodeTypes.h"
|
#include "ESceneNodeTypes.h"
|
||||||
|
|
||||||
struct SKeyMap;
|
|
||||||
struct SEvent;
|
struct SEvent;
|
||||||
|
|
||||||
namespace io
|
namespace io
|
||||||
{
|
{
|
||||||
class IReadFile;
|
class IReadFile;
|
||||||
class IWriteFile;
|
|
||||||
class IFileSystem;
|
|
||||||
} // end namespace io
|
} // end namespace io
|
||||||
|
|
||||||
namespace gui
|
|
||||||
{
|
|
||||||
class IGUIFont;
|
|
||||||
class IGUIEnvironment;
|
|
||||||
} // end namespace gui
|
|
||||||
|
|
||||||
namespace video
|
namespace video
|
||||||
{
|
{
|
||||||
class IVideoDriver;
|
class IVideoDriver;
|
||||||
class SMaterial;
|
|
||||||
class IImage;
|
|
||||||
class ITexture;
|
|
||||||
} // end namespace video
|
} // end namespace video
|
||||||
|
|
||||||
namespace scene
|
namespace scene
|
||||||
|
@ -89,14 +77,12 @@ class ICameraSceneNode;
|
||||||
class IDummyTransformationSceneNode;
|
class IDummyTransformationSceneNode;
|
||||||
class IMesh;
|
class IMesh;
|
||||||
class SkinnedMesh;
|
class SkinnedMesh;
|
||||||
class IMeshBuffer;
|
|
||||||
class IMeshCache;
|
class IMeshCache;
|
||||||
class ISceneCollisionManager;
|
class ISceneCollisionManager;
|
||||||
class IMeshLoader;
|
class IMeshLoader;
|
||||||
class IMeshManipulator;
|
class IMeshManipulator;
|
||||||
class IMeshSceneNode;
|
class IMeshSceneNode;
|
||||||
class ISceneNode;
|
class ISceneNode;
|
||||||
class ISceneNodeFactory;
|
|
||||||
|
|
||||||
//! The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
|
//! The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
|
||||||
/** All Scene nodes can be created only here.
|
/** All Scene nodes can be created only here.
|
||||||
|
|
|
@ -40,7 +40,6 @@ namespace video
|
||||||
{
|
{
|
||||||
class IContextManager;
|
class IContextManager;
|
||||||
class IImage;
|
class IImage;
|
||||||
class ITexture;
|
|
||||||
class IVideoDriver;
|
class IVideoDriver;
|
||||||
extern "C" bool isDriverSupported(E_DRIVER_TYPE driver);
|
extern "C" bool isDriverSupported(E_DRIVER_TYPE driver);
|
||||||
} // end namespace video
|
} // end namespace video
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
namespace scene
|
namespace scene
|
||||||
{
|
{
|
||||||
|
|
||||||
class IMesh;
|
|
||||||
class IMeshBuffer;
|
|
||||||
struct SMesh;
|
|
||||||
|
|
||||||
//! Interface for vertex manipulators.
|
//! Interface for vertex manipulators.
|
||||||
/** You should derive your manipulator from this class if it shall be called for every vertex, getting as parameter just the vertex.
|
/** You should derive your manipulator from this class if it shall be called for every vertex, getting as parameter just the vertex.
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
namespace scene
|
namespace scene
|
||||||
{
|
{
|
||||||
class IDummyTransformationSceneNode;
|
|
||||||
|
|
||||||
class CAnimatedMeshSceneNode : public IAnimatedMeshSceneNode
|
class CAnimatedMeshSceneNode : public IAnimatedMeshSceneNode
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
namespace io
|
namespace io
|
||||||
{
|
{
|
||||||
|
|
||||||
class CZipReader;
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
FileSystem which uses normal files and one zipfile
|
FileSystem which uses normal files and one zipfile
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#include "IReadFile.h"
|
#include "IReadFile.h"
|
||||||
#include "irrString.h"
|
#include "irrString.h"
|
||||||
|
|
||||||
class CUnicodeConverter;
|
|
||||||
|
|
||||||
namespace io
|
namespace io
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
|
|
||||||
#include "SIrrCreationParameters.h"
|
#include "SIrrCreationParameters.h"
|
||||||
|
|
||||||
class CIrrDeviceWin32;
|
|
||||||
class CIrrDeviceLinux;
|
|
||||||
class CIrrDeviceSDL;
|
|
||||||
class CIrrDeviceMacOSX;
|
|
||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_OPENGL_
|
#ifdef _IRR_COMPILE_WITH_OPENGL_
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,6 @@
|
||||||
#include "irrArray.h"
|
#include "irrArray.h"
|
||||||
#include "IMeshLoader.h"
|
#include "IMeshLoader.h"
|
||||||
|
|
||||||
namespace io
|
|
||||||
{
|
|
||||||
class IFileSystem;
|
|
||||||
}
|
|
||||||
namespace scene
|
namespace scene
|
||||||
{
|
{
|
||||||
class IMeshCache;
|
class IMeshCache;
|
||||||
|
|
|
@ -14,7 +14,6 @@ class IReadFile;
|
||||||
} // end namespace io
|
} // end namespace io
|
||||||
namespace scene
|
namespace scene
|
||||||
{
|
{
|
||||||
class IMeshManipulator;
|
|
||||||
|
|
||||||
//! Meshloader capable of loading x meshes.
|
//! Meshloader capable of loading x meshes.
|
||||||
class CXMeshFileLoader : public IMeshLoader
|
class CXMeshFileLoader : public IMeshLoader
|
||||||
|
|
|
@ -22,7 +22,6 @@ namespace video
|
||||||
|
|
||||||
// Forward declarations.
|
// Forward declarations.
|
||||||
|
|
||||||
class COpenGLCoreFeature;
|
|
||||||
|
|
||||||
template <class TOpenGLDriver>
|
template <class TOpenGLDriver>
|
||||||
class COpenGLCoreTexture;
|
class COpenGLCoreTexture;
|
||||||
|
@ -38,7 +37,6 @@ typedef COpenGLCoreTexture<COpenGL3DriverBase> COpenGL3Texture;
|
||||||
typedef COpenGLCoreRenderTarget<COpenGL3DriverBase, COpenGL3Texture> COpenGL3RenderTarget;
|
typedef COpenGLCoreRenderTarget<COpenGL3DriverBase, COpenGL3Texture> COpenGL3RenderTarget;
|
||||||
typedef COpenGLCoreCacheHandler<COpenGL3DriverBase, COpenGL3Texture> COpenGL3CacheHandler;
|
typedef COpenGLCoreCacheHandler<COpenGL3DriverBase, COpenGL3Texture> COpenGL3CacheHandler;
|
||||||
|
|
||||||
class OpenGLVBO;
|
|
||||||
|
|
||||||
enum OpenGLSpec : u8
|
enum OpenGLSpec : u8
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,7 +20,6 @@ namespace video
|
||||||
{
|
{
|
||||||
struct VertexType;
|
struct VertexType;
|
||||||
|
|
||||||
class COpenGL3FixedPipelineRenderer;
|
|
||||||
class COpenGL3Renderer2D;
|
class COpenGL3Renderer2D;
|
||||||
|
|
||||||
class COpenGL3DriverBase : public CNullDriver, public IMaterialRendererServices, public COpenGL3ExtensionHandler
|
class COpenGL3DriverBase : public CNullDriver, public IMaterialRendererServices, public COpenGL3ExtensionHandler
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#include "irrlichttypes.h"
|
#include "irrlichttypes.h"
|
||||||
#include "util/basic_macros.h"
|
#include "util/basic_macros.h"
|
||||||
|
|
||||||
class TestClientActiveObjectMgr;
|
|
||||||
class TestServerActiveObjectMgr;
|
class TestServerActiveObjectMgr;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
|
@ -35,7 +35,6 @@ class ISoundManager;
|
||||||
class IWritableItemDefManager;
|
class IWritableItemDefManager;
|
||||||
class IWritableShaderSource;
|
class IWritableShaderSource;
|
||||||
class IWritableTextureSource;
|
class IWritableTextureSource;
|
||||||
class MapBlockMesh;
|
|
||||||
class MapDatabase;
|
class MapDatabase;
|
||||||
class MeshUpdateManager;
|
class MeshUpdateManager;
|
||||||
class Minimap;
|
class Minimap;
|
||||||
|
@ -51,12 +50,14 @@ struct ClientDynamicInfo;
|
||||||
struct ClientEvent;
|
struct ClientEvent;
|
||||||
struct MapDrawControl;
|
struct MapDrawControl;
|
||||||
struct MapNode;
|
struct MapNode;
|
||||||
struct MeshMakeData;
|
|
||||||
struct MinimapMapblock;
|
|
||||||
struct PlayerControl;
|
struct PlayerControl;
|
||||||
struct PointedThing;
|
struct PointedThing;
|
||||||
struct ItemVisualsManager;
|
struct ItemVisualsManager;
|
||||||
|
|
||||||
|
namespace scene {
|
||||||
|
class IAnimatedMesh;
|
||||||
|
}
|
||||||
|
|
||||||
namespace con {
|
namespace con {
|
||||||
class IConnection;
|
class IConnection;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,8 +23,6 @@ struct MapDrawControl
|
||||||
};
|
};
|
||||||
|
|
||||||
class Client;
|
class Client;
|
||||||
class ITextureSource;
|
|
||||||
class PartialMeshBuffer;
|
|
||||||
|
|
||||||
namespace scene
|
namespace scene
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,10 +14,7 @@
|
||||||
class ClientEnvironment;
|
class ClientEnvironment;
|
||||||
class ITextureSource;
|
class ITextureSource;
|
||||||
class Client;
|
class Client;
|
||||||
class IGameDef;
|
|
||||||
class LocalPlayer;
|
|
||||||
struct ItemStack;
|
struct ItemStack;
|
||||||
class WieldMeshSceneNode;
|
|
||||||
|
|
||||||
namespace scene
|
namespace scene
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "irrlichttypes_bloated.h"
|
#include "irrlichttypes_bloated.h"
|
||||||
class ClientEnvironment;
|
|
||||||
|
|
||||||
class ClientSimpleObject
|
class ClientSimpleObject
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include <IMeshBuffer.h>
|
#include <IMeshBuffer.h>
|
||||||
#include <CMeshBuffer.h>
|
#include <CMeshBuffer.h>
|
||||||
|
|
||||||
class Settings;
|
|
||||||
struct ToolCapabilities;
|
struct ToolCapabilities;
|
||||||
|
|
||||||
std::unordered_map<u16, ClientActiveObject::Factory> ClientActiveObject::m_types;
|
std::unordered_map<u16, ClientActiveObject::Factory> ClientActiveObject::m_types;
|
||||||
|
|
|
@ -22,10 +22,10 @@ namespace scene {
|
||||||
class IBillboardSceneNode;
|
class IBillboardSceneNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
class Camera;
|
|
||||||
class Client;
|
class Client;
|
||||||
struct Nametag;
|
struct Nametag;
|
||||||
struct MinimapMarker;
|
struct MinimapMarker;
|
||||||
|
class WieldMeshSceneNode;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
SmoothTranslator and other helpers
|
SmoothTranslator and other helpers
|
||||||
|
|
|
@ -12,5 +12,7 @@ namespace scene
|
||||||
class ISceneManager;
|
class ISceneManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class ClientEnvironment;
|
||||||
|
|
||||||
ClientSimpleObject* createSmokePuff(scene::ISceneManager *smgr,
|
ClientSimpleObject* createSmokePuff(scene::ISceneManager *smgr,
|
||||||
ClientEnvironment *env, v3f pos, v2f size);
|
ClientEnvironment *env, v3f pos, v2f size);
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
class InputHandler;
|
class InputHandler;
|
||||||
class ChatBackend;
|
class ChatBackend;
|
||||||
class RenderingEngine;
|
class RenderingEngine;
|
||||||
struct SubgameSpec;
|
|
||||||
struct GameStartData;
|
struct GameStartData;
|
||||||
|
|
||||||
struct Jitter {
|
struct Jitter {
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
class Client;
|
class Client;
|
||||||
class RenderingEngine;
|
class RenderingEngine;
|
||||||
class InputHandler;
|
class InputHandler;
|
||||||
class ISoundManager;
|
|
||||||
class GUIFormSpecMenu;
|
class GUIFormSpecMenu;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
namespace video
|
namespace video
|
||||||
{
|
{
|
||||||
class IVideoDriver;
|
|
||||||
class IImage;
|
class IImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,6 @@ class Client;
|
||||||
class Environment;
|
class Environment;
|
||||||
class GenericCAO;
|
class GenericCAO;
|
||||||
class ClientActiveObject;
|
class ClientActiveObject;
|
||||||
class ClientEnvironment;
|
|
||||||
class IGameDef;
|
|
||||||
struct CollisionInfo;
|
struct CollisionInfo;
|
||||||
struct collisionMoveResult;
|
struct collisionMoveResult;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ class ITextureSource;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
class MapBlock;
|
|
||||||
struct MinimapMapblock;
|
struct MinimapMapblock;
|
||||||
|
|
||||||
struct MeshMakeData
|
struct MeshMakeData
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
|
class MapBlock;
|
||||||
|
|
||||||
struct QueuedMeshUpdate
|
struct QueuedMeshUpdate
|
||||||
{
|
{
|
||||||
v3s16 p = v3s16(-1337, -1337, -1337);
|
v3s16 p = v3s16(-1337, -1337, -1337);
|
||||||
|
|
|
@ -11,12 +11,9 @@
|
||||||
class IrrlichtDevice;
|
class IrrlichtDevice;
|
||||||
|
|
||||||
class ShadowRenderer;
|
class ShadowRenderer;
|
||||||
class Camera;
|
|
||||||
class Client;
|
class Client;
|
||||||
class Hud;
|
class Hud;
|
||||||
class Minimap;
|
|
||||||
class RenderPipeline;
|
class RenderPipeline;
|
||||||
class RenderTarget;
|
|
||||||
|
|
||||||
class RenderingCore
|
class RenderingCore
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,11 +27,8 @@ struct VideoDriverInfo {
|
||||||
};
|
};
|
||||||
|
|
||||||
class ITextureSource;
|
class ITextureSource;
|
||||||
class Camera;
|
|
||||||
class Client;
|
class Client;
|
||||||
class LocalPlayer;
|
|
||||||
class Hud;
|
class Hud;
|
||||||
class Minimap;
|
|
||||||
|
|
||||||
class RenderingCore;
|
class RenderingCore;
|
||||||
|
|
||||||
|
|
|
@ -22,11 +22,9 @@ namespace scene
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
struct ItemStack;
|
struct ItemStack;
|
||||||
class Client;
|
class Client;
|
||||||
class ITextureSource;
|
class ITextureSource;
|
||||||
struct ContentFeatures;
|
|
||||||
class ShadowRenderer;
|
class ShadowRenderer;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#include "irrlichttypes_bloated.h"
|
#include "irrlichttypes_bloated.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class Map;
|
|
||||||
class IGameDef;
|
class IGameDef;
|
||||||
class Environment;
|
class Environment;
|
||||||
class ActiveObject;
|
class ActiveObject;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class Settings;
|
|
||||||
|
|
||||||
struct SubgameSpec
|
struct SubgameSpec
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
class Settings;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* initialize basic default settings
|
* initialize basic default settings
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
infostream << "EmergeThread: " x << std::endl; \
|
infostream << "EmergeThread: " x << std::endl; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class EmergeManager;
|
||||||
class EmergeThread;
|
class EmergeThread;
|
||||||
class NodeDefManager;
|
class NodeDefManager;
|
||||||
class Settings;
|
|
||||||
class MapSettingsManager;
|
class MapSettingsManager;
|
||||||
class BiomeManager;
|
class BiomeManager;
|
||||||
class OreManager;
|
class OreManager;
|
||||||
|
|
|
@ -11,23 +11,13 @@
|
||||||
class IItemDefManager;
|
class IItemDefManager;
|
||||||
class NodeDefManager;
|
class NodeDefManager;
|
||||||
class ICraftDefManager;
|
class ICraftDefManager;
|
||||||
class ITextureSource;
|
|
||||||
class IShaderSource;
|
|
||||||
class IRollbackManager;
|
class IRollbackManager;
|
||||||
class EmergeManager;
|
|
||||||
class Camera;
|
|
||||||
class ModChannel;
|
class ModChannel;
|
||||||
class ModStorage;
|
|
||||||
class ModStorageDatabase;
|
class ModStorageDatabase;
|
||||||
struct SubgameSpec;
|
struct SubgameSpec;
|
||||||
struct ModSpec;
|
struct ModSpec;
|
||||||
struct ModIPCStore;
|
struct ModIPCStore;
|
||||||
|
|
||||||
namespace scene {
|
|
||||||
class IAnimatedMesh;
|
|
||||||
class ISceneManager;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
An interface for fetching game-global definitions like tool and
|
An interface for fetching game-global definitions like tool and
|
||||||
mapnode properties
|
mapnode properties
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#include <IGUIEnvironment.h>
|
#include <IGUIEnvironment.h>
|
||||||
|
|
||||||
|
|
||||||
class ISimpleTextureSource;
|
|
||||||
|
|
||||||
class GUIAnimatedImage : public gui::IGUIElement {
|
class GUIAnimatedImage : public gui::IGUIElement {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -40,7 +40,6 @@ struct image_definition {
|
||||||
class GUIEngine;
|
class GUIEngine;
|
||||||
class RenderingEngine;
|
class RenderingEngine;
|
||||||
class MainMenuScripting;
|
class MainMenuScripting;
|
||||||
class IWritableShaderSource;
|
|
||||||
struct MainMenuData;
|
struct MainMenuData;
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
|
@ -20,7 +20,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include "modalMenu.h"
|
#include "modalMenu.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
class Client;
|
|
||||||
class ISimpleTextureSource;
|
class ISimpleTextureSource;
|
||||||
|
|
||||||
class GUIOpenURLMenu : public GUIModalMenu
|
class GUIOpenURLMenu : public GUIModalMenu
|
||||||
|
|
|
@ -25,10 +25,6 @@ namespace gui
|
||||||
class IGUIImage;
|
class IGUIImage;
|
||||||
class IGUIStaticText;
|
class IGUIStaticText;
|
||||||
}
|
}
|
||||||
namespace video
|
|
||||||
{
|
|
||||||
class IVideoDriver;
|
|
||||||
}
|
|
||||||
|
|
||||||
class ISimpleTextureSource;
|
class ISimpleTextureSource;
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include "util/pointedthing.h"
|
#include "util/pointedthing.h"
|
||||||
|
|
||||||
struct ToolCapabilities;
|
struct ToolCapabilities;
|
||||||
|
struct ItemDefinition;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Base item definition
|
Base item definition
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
class Inventory;
|
|
||||||
class IItemDefManager;
|
|
||||||
|
|
||||||
class ItemStackMetadata : public SimpleMetadata
|
class ItemStackMetadata : public SimpleMetadata
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
class MapSector;
|
class MapSector;
|
||||||
class NodeMetadata;
|
class NodeMetadata;
|
||||||
class IGameDef;
|
class IGameDef;
|
||||||
class IRollbackManager;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
MapEditEvent
|
MapEditEvent
|
||||||
|
|
|
@ -32,17 +32,12 @@ class NodeDefManager;
|
||||||
extern const FlagDesc flagdesc_mapgen[];
|
extern const FlagDesc flagdesc_mapgen[];
|
||||||
extern const FlagDesc flagdesc_gennotify[];
|
extern const FlagDesc flagdesc_gennotify[];
|
||||||
|
|
||||||
class Biome;
|
|
||||||
class BiomeGen;
|
class BiomeGen;
|
||||||
struct BiomeParams;
|
struct BiomeParams;
|
||||||
class BiomeManager;
|
class BiomeManager;
|
||||||
class EmergeParams;
|
class EmergeParams;
|
||||||
class EmergeManager;
|
|
||||||
class MapBlock;
|
|
||||||
class VoxelManipulator;
|
|
||||||
struct BlockMakeData;
|
struct BlockMakeData;
|
||||||
class VoxelArea;
|
class VoxelArea;
|
||||||
class Map;
|
|
||||||
|
|
||||||
enum MapgenObject {
|
enum MapgenObject {
|
||||||
MGOBJ_VMANIP,
|
MGOBJ_VMANIP,
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#define MGCARPATHIAN_CAVERNS 0x01
|
#define MGCARPATHIAN_CAVERNS 0x01
|
||||||
#define MGCARPATHIAN_RIVERS 0x02
|
#define MGCARPATHIAN_RIVERS 0x02
|
||||||
|
|
||||||
class BiomeManager;
|
|
||||||
|
|
||||||
extern const FlagDesc flagdesc_mapgen_carpathian[];
|
extern const FlagDesc flagdesc_mapgen_carpathian[];
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
#define MGFLAT_HILLS 0x02
|
#define MGFLAT_HILLS 0x02
|
||||||
#define MGFLAT_CAVERNS 0x04
|
#define MGFLAT_CAVERNS 0x04
|
||||||
|
|
||||||
class BiomeManager;
|
|
||||||
|
|
||||||
extern const FlagDesc flagdesc_mapgen_flat[];
|
extern const FlagDesc flagdesc_mapgen_flat[];
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
///////////// Mapgen Fractal flags
|
///////////// Mapgen Fractal flags
|
||||||
#define MGFRACTAL_TERRAIN 0x01
|
#define MGFRACTAL_TERRAIN 0x01
|
||||||
|
|
||||||
class BiomeManager;
|
|
||||||
|
|
||||||
extern const FlagDesc flagdesc_mapgen_fractal[];
|
extern const FlagDesc flagdesc_mapgen_fractal[];
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
///////// Mapgen V5 flags
|
///////// Mapgen V5 flags
|
||||||
#define MGV5_CAVERNS 0x01
|
#define MGV5_CAVERNS 0x01
|
||||||
|
|
||||||
class BiomeManager;
|
|
||||||
|
|
||||||
extern const FlagDesc flagdesc_mapgen_v5[];
|
extern const FlagDesc flagdesc_mapgen_v5[];
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
#define MGV7_CAVERNS 0x08
|
#define MGV7_CAVERNS 0x08
|
||||||
#define MGV7_BIOMEREPEAT 0x10 // Now unused
|
#define MGV7_BIOMEREPEAT 0x10 // Now unused
|
||||||
|
|
||||||
class BiomeManager;
|
|
||||||
|
|
||||||
extern const FlagDesc flagdesc_mapgen_v7[];
|
extern const FlagDesc flagdesc_mapgen_v7[];
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ Licensing changed by permission of Gael de Sailly.
|
||||||
#define MGVALLEYS_VARY_RIVER_DEPTH 0x04
|
#define MGVALLEYS_VARY_RIVER_DEPTH 0x04
|
||||||
#define MGVALLEYS_ALT_DRY 0x08
|
#define MGVALLEYS_ALT_DRY 0x08
|
||||||
|
|
||||||
class BiomeManager;
|
|
||||||
class BiomeGenOriginal;
|
class BiomeGenOriginal;
|
||||||
|
|
||||||
extern const FlagDesc flagdesc_mapgen_valleys[];
|
extern const FlagDesc flagdesc_mapgen_valleys[];
|
||||||
|
|
|
@ -11,9 +11,7 @@
|
||||||
|
|
||||||
class Map;
|
class Map;
|
||||||
class ServerMap;
|
class ServerMap;
|
||||||
class Mapgen;
|
|
||||||
class MMVManip;
|
class MMVManip;
|
||||||
class PseudoRandom;
|
|
||||||
class NodeResolver;
|
class NodeResolver;
|
||||||
class Server;
|
class Server;
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,6 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
struct MapNode;
|
struct MapNode;
|
||||||
class NodeMetadata;
|
|
||||||
|
|
||||||
enum LeavesStyle {
|
enum LeavesStyle {
|
||||||
LEAVES_FANCY,
|
LEAVES_FANCY,
|
||||||
|
|
|
@ -137,9 +137,7 @@ enum CameraMode {
|
||||||
|
|
||||||
extern const struct EnumString es_CameraMode[];
|
extern const struct EnumString es_CameraMode[];
|
||||||
|
|
||||||
class Map;
|
|
||||||
struct HudElement;
|
struct HudElement;
|
||||||
class Environment;
|
|
||||||
|
|
||||||
class Player
|
class Player
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
class Map;
|
class Map;
|
||||||
class IGameDef;
|
class IGameDef;
|
||||||
struct MapNode;
|
|
||||||
class InventoryManager;
|
class InventoryManager;
|
||||||
|
|
||||||
struct RollbackNode
|
struct RollbackNode
|
||||||
|
|
|
@ -51,7 +51,6 @@ struct DigParams;
|
||||||
struct HitParams;
|
struct HitParams;
|
||||||
struct EnumString;
|
struct EnumString;
|
||||||
struct NoiseParams;
|
struct NoiseParams;
|
||||||
class Schematic;
|
|
||||||
class ServerActiveObject;
|
class ServerActiveObject;
|
||||||
struct collisionMoveResult;
|
struct collisionMoveResult;
|
||||||
namespace treegen { struct TreeDef; }
|
namespace treegen { struct TreeDef; }
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
struct PointedThing;
|
struct PointedThing;
|
||||||
struct ItemStack;
|
struct ItemStack;
|
||||||
class ServerActiveObject;
|
class ServerActiveObject;
|
||||||
struct ItemDefinition;
|
|
||||||
class LuaItemStack;
|
class LuaItemStack;
|
||||||
class ModApiItem;
|
class ModApiItem;
|
||||||
class InventoryList;
|
class InventoryList;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#include "inventory.h"
|
#include "inventory.h"
|
||||||
#include "inventorymanager.h"
|
#include "inventorymanager.h"
|
||||||
|
|
||||||
class RemotePlayer;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
InvRef
|
InvRef
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include "lua_api/l_base.h"
|
#include "lua_api/l_base.h"
|
||||||
|
|
||||||
class AsyncEngine;
|
|
||||||
|
|
||||||
/** Implementation of lua api support for mainmenu */
|
/** Implementation of lua api support for mainmenu */
|
||||||
class ModApiMainMenu: public ModApiBase
|
class ModApiMainMenu: public ModApiBase
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
typedef u16 biome_t; // copy from mg_biome.h to avoid an unnecessary include
|
typedef u16 biome_t; // copy from mg_biome.h to avoid an unnecessary include
|
||||||
|
|
||||||
class MMVManip;
|
class MMVManip;
|
||||||
class BiomeManager;
|
|
||||||
class BiomeGen;
|
class BiomeGen;
|
||||||
class Mapgen;
|
class Mapgen;
|
||||||
|
class EmergeManager;
|
||||||
|
|
||||||
class ModApiMapgen : public ModApiBase
|
class ModApiMapgen : public ModApiBase
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include "lua_api/l_base.h"
|
#include "lua_api/l_base.h"
|
||||||
|
|
||||||
class AsyncEngine;
|
|
||||||
|
|
||||||
class ModApiUtil : public ModApiBase
|
class ModApiUtil : public ModApiBase
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#include "lua_api/l_base.h"
|
#include "lua_api/l_base.h"
|
||||||
|
|
||||||
class Map;
|
class Map;
|
||||||
class MapBlock;
|
|
||||||
class MMVManip;
|
class MMVManip;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include "util/numeric.h"
|
#include "util/numeric.h"
|
||||||
#include "util/metricsbackend.h"
|
#include "util/metricsbackend.h"
|
||||||
|
|
||||||
class IGameDef;
|
|
||||||
struct GameParams;
|
struct GameParams;
|
||||||
class RemotePlayer;
|
class RemotePlayer;
|
||||||
class PlayerDatabase;
|
class PlayerDatabase;
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
class Settings;
|
class Settings;
|
||||||
class MapDatabase;
|
class MapDatabase;
|
||||||
class IRollbackManager;
|
|
||||||
class EmergeManager;
|
class EmergeManager;
|
||||||
class ServerEnvironment;
|
class ServerEnvironment;
|
||||||
struct BlockMakeData;
|
struct BlockMakeData;
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
struct ItemDefinition;
|
|
||||||
class IItemDefManager;
|
class IItemDefManager;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#include "inventory.h"
|
#include "inventory.h"
|
||||||
#include "server/serverinventorymgr.h"
|
#include "server/serverinventorymgr.h"
|
||||||
|
|
||||||
class ServerEnvironment;
|
|
||||||
|
|
||||||
class MockInventoryManager : public ServerInventoryManager
|
class MockInventoryManager : public ServerInventoryManager
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
class ServerEnvironment;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A global unique identifier.
|
* A global unique identifier.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue