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

Function DemoReadPowerups

Descent3/demofile.cpp:1345–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1343extern void MultiDoMSafePowerup(uint8_t *data);
1344
1345void DemoReadPowerups() {
1346 uint8_t buffer[1500];
1347 uint16_t len = cf_ReadShort(Demo_cfp);
1348 cf_ReadBytes(buffer, len, Demo_cfp);
1349 MultiDoMSafePowerup(buffer);
1350}
1351extern void collide_player_and_weapon(object *playerobj, object *weapon, vector *collision_point,
1352 vector *collision_normal, bool f_reverse_normal, fvi_info *hit_info);
1353extern void collide_generic_and_weapon(object *robotobj, object *weapon, vector *collision_point,

Callers 1

DemoFrameFunction · 0.85

Calls 3

cf_ReadShortFunction · 0.85
cf_ReadBytesFunction · 0.85
MultiDoMSafePowerupFunction · 0.85

Tested by

no test coverage detected