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

Function DemoWriteAttachObjRad

Descent3/demofile.cpp:1464–1470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1462}
1463
1464void DemoWriteAttachObjRad(object *parent, char parent_ap, object *child, float rad) {
1465 cf_WriteByte(Demo_cfp, DT_ATTACH);
1466 cf_WriteShort(Demo_cfp, OBJNUM(parent));
1467 cf_WriteByte(Demo_cfp, parent_ap);
1468 cf_WriteShort(Demo_cfp, OBJNUM(child));
1469 cf_WriteFloat(Demo_cfp, rad);
1470}
1471
1472void DemoReadAttachObjRad(void) {
1473 int16_t old_objnum;

Callers 1

AttachObjectFunction · 0.85

Calls 3

cf_WriteByteFunction · 0.85
cf_WriteShortFunction · 0.85
cf_WriteFloatFunction · 0.85

Tested by

no test coverage detected