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

Function DemoReadNewFrame

Descent3/demofile.cpp:1454–1462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452int Debugme = 1;
1453
1454void DemoReadNewFrame(void) {
1455 // float our_frametime;
1456 Gametime = Demo_next_frame;
1457 Frametime = Demo_frame_time;
1458 Demo_next_frame = cf_ReadFloat(Demo_cfp);
1459 Demo_frame_time = cf_ReadFloat(Demo_cfp);
1460
1461 DemoFrameCount++;
1462}
1463
1464void DemoWriteAttachObjRad(object *parent, char parent_ap, object *child, float rad) {
1465 cf_WriteByte(Demo_cfp, DT_ATTACH);

Callers 1

DemoFrameFunction · 0.85

Calls 1

cf_ReadFloatFunction · 0.85

Tested by

no test coverage detected