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

Function DemoWriteHudMessage

Descent3/demofile.cpp:490–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void DemoWriteHudMessage(uint32_t color, bool blink, char *msg) {
491 if (Demo_flags == DF_RECORDING) {
492 cf_WriteByte(Demo_cfp, DT_HUD_MESSAGE);
493 cf_WriteInt(Demo_cfp, color);
494 cf_WriteByte(Demo_cfp, blink ? 1 : 0);
495 cf_WriteString(Demo_cfp, msg);
496 }
497}
498
499void DemoWriteChangedObjects() {
500 int i;

Callers 5

AddColoredHUDMessageFunction · 0.85
AddFilteredHUDMessageFunction · 0.85
AddHUDMessageFunction · 0.85
AddBlinkingHUDMessageFunction · 0.85

Calls 3

cf_WriteByteFunction · 0.85
cf_WriteIntFunction · 0.85
cf_WriteStringFunction · 0.85

Tested by

no test coverage detected