[qw] Use a callback for netchan logging

This gets outgoing packet logging working again. Yay, fill my hard-drive
faster ;)
This commit is contained in:
Bill Currie 2021-12-27 17:54:58 +09:00
parent 58bbed722a
commit 94871671d2
6 changed files with 72 additions and 30 deletions

View file

@ -483,6 +483,11 @@ extern struct clip_hull_s *pf_hull_list[];
// sv_main.c
//
void SV_OutOfBand (netadr_t adr, unsigned length, byte *data);
void SV_OutOfBandPrint (netadr_t adr, const char *format, ...)
__attribute__ ((format (PRINTF,2,3)));
client_t *SV_AllocClient (int spectator, int server);
void SV_SavePenaltyFilter (client_t *cl, filtertype_t type, double pentime);