Fix class/struct forward declaration inconsistencies (good on ya, MSVC)

master
Kahrl 2013-06-06 22:57:38 +02:00
parent 6b3e553dd5
commit 773471750d
6 changed files with 19 additions and 19 deletions

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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,