forked from Mirrorlandia_minetest/minetest
Fix structs being declared as classes
Some compilers complain when a class is declared as a struct or vice versa. Fix by making sure that the correct tag is used both in declaration and definition.
This commit is contained in:
parent
4d0f227c70
commit
96c30452f9
@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include <IAnimatedMesh.h>
|
#include <IAnimatedMesh.h>
|
||||||
|
|
||||||
class LocalPlayer;
|
class LocalPlayer;
|
||||||
class MapDrawControl;
|
struct MapDrawControl;
|
||||||
class ExtrudedSpriteSceneNode;
|
class ExtrudedSpriteSceneNode;
|
||||||
class IGameDef;
|
class IGameDef;
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
|
|
||||||
class ServerActiveObject;
|
class ServerActiveObject;
|
||||||
class ServerEnvironment;
|
class ServerEnvironment;
|
||||||
class PointedThing;
|
struct PointedThing;
|
||||||
class ITextureSource;
|
class ITextureSource;
|
||||||
class IGameDef;
|
class IGameDef;
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ struct DiggingProperties
|
|||||||
u16 wear;
|
u16 wear;
|
||||||
};
|
};
|
||||||
|
|
||||||
class ToolDiggingProperties;
|
struct ToolDiggingProperties;
|
||||||
class INodeDefManager;
|
class INodeDefManager;
|
||||||
|
|
||||||
DiggingProperties getDiggingProperties(u16 content, ToolDiggingProperties *tp,
|
DiggingProperties getDiggingProperties(u16 content, ToolDiggingProperties *tp,
|
||||||
|
Loading…
Reference in New Issue
Block a user