// // ScrollThinker::serialize // // Save/load a ScrollThinker thinker. // void ScrollThinker::serialize(SaveArchive &arc) { Super::serialize(arc); arc << dx << dy << affectee << control << last_height << vdx << vdy << accel << type; if(arc.isLoading()) addScroller(); }
// // CeilingThinker::serialize // // Saves and loads CeilingThinker thinkers. // void CeilingThinker::serialize(SaveArchive &arc) { Super::serialize(arc); arc << type << bottomheight << topheight << speed << oldspeed << crush << special << texture << direction << inStasis << tag << olddirection; // Reattach to active ceilings list if(arc.isLoading()) P_AddActiveCeiling(this); }