MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / SaveMotion

Method SaveMotion

ogsr_engine/xr_3da/motion.cpp:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void 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
89bool COMotion::LoadMotion(const char* buf)
90{

Callers

nothing calls this directly

Calls 5

SaveFunction · 0.85
MsgFunction · 0.85
close_chunkMethod · 0.80
save_toMethod · 0.80
open_chunkMethod · 0.45

Tested by

no test coverage detected