From a113c81db34662df42f0e788f7a72101e38313ff Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Mon, 15 Jul 2013 03:40:15 +0200 Subject: [PATCH] Added a Variant type ( for holding variable type values ) to NLMISC --HG-- branch : gsoc2013-dfighter --- code/nel/include/nel/3d/dynamic_material.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/nel/include/nel/3d/dynamic_material.h b/code/nel/include/nel/3d/dynamic_material.h index 93f648cfe..583f69c06 100644 --- a/code/nel/include/nel/3d/dynamic_material.h +++ b/code/nel/include/nel/3d/dynamic_material.h @@ -19,6 +19,7 @@ #define DYN_MATERIAL_H #include "nel/misc/stream.h" +#include "nel/misc/variant.h" #include #include @@ -42,7 +43,8 @@ namespace NL3D std::string prop; std::string label; uint8 type; - std::string value; + + NLMISC::Variant value; void serial( NLMISC::IStream &f ); };