FTEQW
Documentation of the FTE engine source tree.
huff.c File Reference

Typedefs

typedef struct nodetype node_t
 

Functions

int Huff_PreferedCompressionCRC (void)
 
huffman_tHuff_CompressionCRC (int crc)
 
void Huff_DecryptPacket (sizebuf_t *msg, int offset)
 
void Huff_EncryptPacket (sizebuf_t *msg, int offset)
 
int Huff_GetByte (qbyte *buffer, int *count)
 
void Huff_EmitByte (int ch, qbyte *buffer, int *count)
 
void Huff_CompressPacket (huffman_t *huff, sizebuf_t *msg, int offset)
 
void Huff_DecompressPacket (huffman_t *huff, sizebuf_t *msg, int offset)
 

Variables

cvar_t net_compress
 

Typedef Documentation

◆ node_t

typedef struct nodetype node_t

Function Documentation

◆ Huff_CompressionCRC()

huffman_t * Huff_CompressionCRC ( int  crc)

◆ Huff_CompressPacket()

void Huff_CompressPacket ( huffman_t huff,
sizebuf_t msg,
int  offset 
)

◆ Huff_DecompressPacket()

void Huff_DecompressPacket ( huffman_t huff,
sizebuf_t msg,
int  offset 
)

◆ Huff_DecryptPacket()

void Huff_DecryptPacket ( sizebuf_t msg,
int  offset 
)

◆ Huff_EmitByte()

void Huff_EmitByte ( int  ch,
qbyte buffer,
int count 
)

◆ Huff_EncryptPacket()

void Huff_EncryptPacket ( sizebuf_t msg,
int  offset 
)

◆ Huff_GetByte()

int Huff_GetByte ( qbyte buffer,
int count 
)

◆ Huff_PreferedCompressionCRC()

int Huff_PreferedCompressionCRC ( void  )

Variable Documentation

◆ net_compress

cvar_t net_compress
extern