| 23 | using namespace base::serialization::little_endian; |
| 24 | |
| 25 | void write_cel(std::ostream& os, const Cel* cel) |
| 26 | { |
| 27 | write32(os, cel->id()); |
| 28 | write16(os, cel->frame()); |
| 29 | write32(os, cel->dataRef()->id()); |
| 30 | } |
| 31 | |
| 32 | Cel* read_cel(std::istream& is, SubObjectsIO* subObjects, bool setId) |
| 33 | { |