Created
June 6, 2013 20:39
-
-
Save kahrl/5724740 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h | |
index 251a72e..58be711 100644 | |
--- a/src/script/common/c_content.h | |
+++ b/src/script/common/c_content.h | |
@@ -39,19 +39,19 @@ | |
#include "irrlichttypes_bloated.h" | |
#include "util/string.h" | |
-class MapNode; | |
+struct MapNode; | |
class INodeDefManager; | |
-class PointedThing; | |
-class ItemStack; | |
-class ItemDefinition; | |
-class ToolCapabilities; | |
-class ObjectProperties; | |
-class SimpleSoundSpec; | |
-class ServerSoundParams; | |
+struct PointedThing; | |
+struct ItemStack; | |
+struct ItemDefinition; | |
+struct ToolCapabilities; | |
+struct ObjectProperties; | |
+struct SimpleSoundSpec; | |
+struct ServerSoundParams; | |
class Inventory; | |
-class NodeBox; | |
-class ContentFeatures; | |
-class TileDef; | |
+struct NodeBox; | |
+struct ContentFeatures; | |
+struct TileDef; | |
class Server; | |
struct DigParams; | |
struct HitParams; | |
diff --git a/src/script/cpp_api/s_entity.h b/src/script/cpp_api/s_entity.h | |
index b95b6b4..8df9d7f 100644 | |
--- a/src/script/cpp_api/s_entity.h | |
+++ b/src/script/cpp_api/s_entity.h | |
@@ -23,8 +23,8 @@ | |
#include "cpp_api/s_base.h" | |
#include "irr_v3d.h" | |
-class ObjectProperties; | |
-class ToolCapabilities; | |
+struct ObjectProperties; | |
+struct ToolCapabilities; | |
class ScriptApiEntity | |
: virtual public ScriptApiBase | |
diff --git a/src/script/cpp_api/s_inventory.h b/src/script/cpp_api/s_inventory.h | |
index bf3b5de..d1a81de 100644 | |
--- a/src/script/cpp_api/s_inventory.h | |
+++ b/src/script/cpp_api/s_inventory.h | |
@@ -22,7 +22,7 @@ | |
#include "cpp_api/s_base.h" | |
-class ItemStack; | |
+struct ItemStack; | |
class ScriptApiDetached | |
: virtual public ScriptApiBase | |
diff --git a/src/script/cpp_api/s_item.h b/src/script/cpp_api/s_item.h | |
index 28ac444..0f2b160 100644 | |
--- a/src/script/cpp_api/s_item.h | |
+++ b/src/script/cpp_api/s_item.h | |
@@ -23,10 +23,10 @@ | |
#include "cpp_api/s_base.h" | |
#include "irr_v3d.h" | |
-class PointedThing; | |
-class ItemStack; | |
+struct PointedThing; | |
+struct ItemStack; | |
class ServerActiveObject; | |
-class ItemDefinition; | |
+struct ItemDefinition; | |
class LuaItemStack; | |
class ModApiItemMod; | |
diff --git a/src/script/cpp_api/s_node.h b/src/script/cpp_api/s_node.h | |
index bff6072..a8c9b3a 100644 | |
--- a/src/script/cpp_api/s_node.h | |
+++ b/src/script/cpp_api/s_node.h | |
@@ -26,7 +26,7 @@ | |
#include "cpp_api/s_base.h" | |
#include "cpp_api/s_nodemeta.h" | |
-class MapNode; | |
+struct MapNode; | |
class ServerActiveObject; | |
class ScriptApiNode | |
diff --git a/src/script/cpp_api/s_nodemeta.h b/src/script/cpp_api/s_nodemeta.h | |
index 9be126c..c2ebeba 100644 | |
--- a/src/script/cpp_api/s_nodemeta.h | |
+++ b/src/script/cpp_api/s_nodemeta.h | |
@@ -24,7 +24,7 @@ | |
#include "cpp_api/s_item.h" | |
#include "irr_v3d.h" | |
-class ItemStack; | |
+struct ItemStack; | |
class ScriptApiNodemeta | |
: virtual public ScriptApiBase, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment