using loader::FieldDescription;
using loader::Interpreter;
using loader::TypeDescription;
using loader::FieldDescription;
using loader::Interpreter;
using loader::TypeDescription;
TypeDescription &td(TypeDescription::Create(TYPE_ID, "ComplexAnimation"));
td.SetDescription("Complex animation type that supports per-frame disposition and non-linear sprite offset selection.");
td.SetConstructor(&Construct);
TypeDescription &td(TypeDescription::Create(TYPE_ID, "ComplexAnimation"));
td.SetDescription("Complex animation type that supports per-frame disposition and non-linear sprite offset selection.");
td.SetConstructor(&Construct);
td.SetSize(sizeof(ComplexAnimation));
td.AddSupertype(Animation::TYPE_ID, ((char *)a) - ((char *)&ca));
Animation::AddFields(td, ca, ((char *)a) - ((char *)&ca));
td.SetSize(sizeof(ComplexAnimation));
td.AddSupertype(Animation::TYPE_ID, ((char *)a) - ((char *)&ca));
Animation::AddFields(td, ca, ((char *)a) - ((char *)&ca));
- td.AddField("frames", FieldDescription(((char *)&ca.frames) - ((char *)&ca), FrameProp::TYPE_ID).SetReferenced().SetAggregate().SetDescription("a variable number of frames"));
+ td.AddField("frames", FieldDescription(((char *)&ca.frames) - ((char *)&ca), FrameProp::TYPE_ID).SetAggregate().SetDescription("a variable number of frames"));