| 1707 | } |
| 1708 | |
| 1709 | void DemoWritePersistantHUDMessage(ddgr_color color, int x, int y, float time, int flags, int sound_index, char *msg) { |
| 1710 | cf_WriteByte(Demo_cfp, DT_PERSISTANT_HUD); |
| 1711 | cf_WriteInt(Demo_cfp, (int)color); |
| 1712 | cf_WriteInt(Demo_cfp, (int)x); |
| 1713 | cf_WriteInt(Demo_cfp, (int)y); |
| 1714 | cf_WriteFloat(Demo_cfp, time); |
| 1715 | cf_WriteInt(Demo_cfp, flags); |
| 1716 | cf_WriteInt(Demo_cfp, sound_index); |
| 1717 | cf_WriteShort(Demo_cfp, strlen(msg) + 1); |
| 1718 | cf_WriteBytes((const uint8_t *)msg, strlen(msg) + 1, Demo_cfp); |
| 1719 | } |
| 1720 | |
| 1721 | void DemoReadPersistantHUDMessage() { |
| 1722 | ddgr_color color; |
no test coverage detected