diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-15 19:58:36 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:44 +0200 |
commit | eed727c61b51f46f6d172c56ecd26a3b1752d449 (patch) | |
tree | 0c6efe4379ace6c20f76267cc40ba01a69ef9ecc /src/materials.h | |
parent | 89e7bacd991060fe6cdada6bf8112f9f20c3e310 (diff) | |
download | minetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.tar.gz minetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.tar.bz2 minetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.zip |
Completely generalized mesh generation; ContentFeatures serialization
Diffstat (limited to 'src/materials.h')
-rw-r--r-- | src/materials.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <celeron55@gmail.com> +Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@gmail.com> 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 <string> +#include <iostream> enum Diggability { @@ -65,6 +66,9 @@ struct MaterialProperties crumbliness(1), cuttability(1) {} + + void serialize(std::ostream &os); + void deSerialize(std::istream &is); }; struct DiggingProperties |