Fix serialization of most components

This was SVN commit r8449.
This commit is contained in:
Ykkrosh
2010-10-23 19:59:40 +00:00
parent 73286885d9
commit e13196e7a2
24 changed files with 398 additions and 80 deletions
@@ -150,12 +150,18 @@ public:
// TODO: store animation state
// TODO: store shading colour
serialize.NumberFixed_Unbounded("r", m_R);
serialize.NumberFixed_Unbounded("g", m_G);
serialize.NumberFixed_Unbounded("b", m_B);
}
virtual void Deserialize(const CSimContext& context, const CParamNode& paramNode, IDeserializer& UNUSED(deserialize))
virtual void Deserialize(const CSimContext& context, const CParamNode& paramNode, IDeserializer& deserialize)
{
Init(context, paramNode);
deserialize.NumberFixed_Unbounded("r", m_R);
deserialize.NumberFixed_Unbounded("g", m_G);
deserialize.NumberFixed_Unbounded("b", m_B);
}
virtual void HandleMessage(const CSimContext& UNUSED(context), const CMessage& msg, bool UNUSED(global))