ItemStack is a struct, not a class
CollisionInfo is a struct, not a class
InventoryAction is abstract and it needs a virtual destructor
virtual void apply(InventoryManager *mgr, ServerActiveObject *player,
IGameDef *gamedef) = 0;
virtual void clientApply(InventoryManager *mgr, IGameDef *gamedef) = 0;
+ virtual ~InventoryAction() {};
};
struct IMoveAction : public InventoryAction
class Map;
class IGameDef;
-class CollisionInfo;
+struct CollisionInfo;
class Player
{
class ServerRemotePlayer;
typedef struct lua_State lua_State;
struct LuaEntityProperties;
-class ItemStack;
+struct ItemStack;
struct PointedThing;
//class IGameDef;
*/
class ServerEnvironment;
-class ItemStack;
+struct ItemStack;
class Player;
struct ToolDiggingProperties;