From eed727c61b51f46f6d172c56ecd26a3b1752d449 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 15 Nov 2011 19:58:36 +0200 Subject: Completely generalized mesh generation; ContentFeatures serialization --- src/materials.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/materials.h') diff --git a/src/materials.h b/src/materials.h index 62bce1669..4e067fd66 100644 --- a/src/materials.h +++ b/src/materials.h @@ -1,6 +1,6 @@ /* Minetest-c55 -Copyright (C) 2010 celeron55, Perttu Ahola +Copyright (C) 2010-2011 celeron55, Perttu Ahola This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common_irrlicht.h" #include +#include enum Diggability { @@ -65,6 +66,9 @@ struct MaterialProperties crumbliness(1), cuttability(1) {} + + void serialize(std::ostream &os); + void deSerialize(std::istream &is); }; struct DiggingProperties -- cgit v1.2.3