| 77 | } |
| 78 | |
| 79 | void COMotion::SaveMotion(const char* buf) |
| 80 | { |
| 81 | CMemoryWriter F; |
| 82 | F.open_chunk(EOBJ_OMOTION); |
| 83 | Save(F); |
| 84 | F.close_chunk(); |
| 85 | if (!F.save_to(buf)) |
| 86 | Msg("!Can't save object motion: [%s]", buf); |
| 87 | } |
| 88 | |
| 89 | bool COMotion::LoadMotion(const char* buf) |
| 90 | { |
nothing calls this directly
no test coverage detected