mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Fix class/struct forward declaration inconsistencies (good on ya, MSVC)
This commit is contained in:
parent
6b3e553dd5
commit
773471750d
@ -39,19 +39,19 @@ extern "C" {
|
|||||||
#include "irrlichttypes_bloated.h"
|
#include "irrlichttypes_bloated.h"
|
||||||
#include "util/string.h"
|
#include "util/string.h"
|
||||||
|
|
||||||
class MapNode;
|
struct MapNode;
|
||||||
class INodeDefManager;
|
class INodeDefManager;
|
||||||
class PointedThing;
|
struct PointedThing;
|
||||||
class ItemStack;
|
struct ItemStack;
|
||||||
class ItemDefinition;
|
struct ItemDefinition;
|
||||||
class ToolCapabilities;
|
struct ToolCapabilities;
|
||||||
class ObjectProperties;
|
struct ObjectProperties;
|
||||||
class SimpleSoundSpec;
|
struct SimpleSoundSpec;
|
||||||
class ServerSoundParams;
|
struct ServerSoundParams;
|
||||||
class Inventory;
|
class Inventory;
|
||||||
class NodeBox;
|
struct NodeBox;
|
||||||
class ContentFeatures;
|
struct ContentFeatures;
|
||||||
class TileDef;
|
struct TileDef;
|
||||||
class Server;
|
class Server;
|
||||||
struct DigParams;
|
struct DigParams;
|
||||||
struct HitParams;
|
struct HitParams;
|
||||||
|
@ -23,8 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "cpp_api/s_base.h"
|
#include "cpp_api/s_base.h"
|
||||||
#include "irr_v3d.h"
|
#include "irr_v3d.h"
|
||||||
|
|
||||||
class ObjectProperties;
|
struct ObjectProperties;
|
||||||
class ToolCapabilities;
|
struct ToolCapabilities;
|
||||||
|
|
||||||
class ScriptApiEntity
|
class ScriptApiEntity
|
||||||
: virtual public ScriptApiBase
|
: virtual public ScriptApiBase
|
||||||
|
@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
|
|
||||||
#include "cpp_api/s_base.h"
|
#include "cpp_api/s_base.h"
|
||||||
|
|
||||||
class ItemStack;
|
struct ItemStack;
|
||||||
|
|
||||||
class ScriptApiDetached
|
class ScriptApiDetached
|
||||||
: virtual public ScriptApiBase
|
: virtual public ScriptApiBase
|
||||||
|
@ -23,10 +23,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "cpp_api/s_base.h"
|
#include "cpp_api/s_base.h"
|
||||||
#include "irr_v3d.h"
|
#include "irr_v3d.h"
|
||||||
|
|
||||||
class PointedThing;
|
struct PointedThing;
|
||||||
class ItemStack;
|
struct ItemStack;
|
||||||
class ServerActiveObject;
|
class ServerActiveObject;
|
||||||
class ItemDefinition;
|
struct ItemDefinition;
|
||||||
class LuaItemStack;
|
class LuaItemStack;
|
||||||
class ModApiItemMod;
|
class ModApiItemMod;
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "cpp_api/s_base.h"
|
#include "cpp_api/s_base.h"
|
||||||
#include "cpp_api/s_nodemeta.h"
|
#include "cpp_api/s_nodemeta.h"
|
||||||
|
|
||||||
class MapNode;
|
struct MapNode;
|
||||||
class ServerActiveObject;
|
class ServerActiveObject;
|
||||||
|
|
||||||
class ScriptApiNode
|
class ScriptApiNode
|
||||||
|
@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "cpp_api/s_item.h"
|
#include "cpp_api/s_item.h"
|
||||||
#include "irr_v3d.h"
|
#include "irr_v3d.h"
|
||||||
|
|
||||||
class ItemStack;
|
struct ItemStack;
|
||||||
|
|
||||||
class ScriptApiNodemeta
|
class ScriptApiNodemeta
|
||||||
: virtual public ScriptApiBase,
|
: virtual public ScriptApiBase,
|
||||||
|
Loading…
Reference in New Issue
Block a user