MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / DemoWriteUnattachObj

Function DemoWriteUnattachObj

Descent3/demofile.cpp:1513–1516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1511}
1512
1513void DemoWriteUnattachObj(object *child) {
1514 cf_WriteByte(Demo_cfp, DT_UNATTACH);
1515 cf_WriteShort(Demo_cfp, OBJNUM(child));
1516}
1517
1518void DemoReadUnattachObj(void) {
1519 int16_t old_objnum = cf_ReadShort(Demo_cfp);

Callers 1

UnattachFromParentFunction · 0.85

Calls 2

cf_WriteByteFunction · 0.85
cf_WriteShortFunction · 0.85

Tested by

no test coverage detected