friend class boost::serialization::access;
template<class Archive> void serialize(Archive &archive, const unsigned int)
{
- archive & BOOST_SERIALIZATION_NVP(featureTag);
- archive & BOOST_SERIALIZATION_NVP(hitPoint);
- archive & BOOST_SERIALIZATION_NVP(maxPoint);
+ archive & boost::serialization::make_nvp("Feature", featureTag);
+ archive & boost::serialization::make_nvp("HP", hitPoint);
+ archive & boost::serialization::make_nvp("MaxHP", maxPoint);
}
public:
};
-}
\ No newline at end of file
+}
+
+BOOST_CLASS_VERSION(Deeangband::Square, 10);