]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
now checks that a lightmap surfacechain is not NULL before dereferencing it
[xonotic/darkplaces.git] / common.h
index b6272a80bb5fac9b55ea6f38ae648972861b6031..9da99680cc2399cbdb46734f24fee0c655351bf1 100644 (file)
--- a/common.h
+++ b/common.h
@@ -52,6 +52,8 @@ void SZ_HexDumpToConsole(const sizebuf_t *buf);
 
 void Com_HexDumpToConsole(const qbyte *data, int size);
 
+unsigned short CRC_Block(qbyte *data, int size);
+
 
 //============================================================================
 //                                                     Endianess handling
@@ -123,6 +125,7 @@ void MSG_WriteCoord16i (sizebuf_t *sb, float f);
 void MSG_WriteCoord32f (sizebuf_t *sb, float f);
 void MSG_WriteCoord (sizebuf_t *sb, float f, int protocol);
 void MSG_WriteVector (sizebuf_t *sb, float *v, int protocol);
+void MSG_WriteAngle (sizebuf_t *sb, float f, int protocol);
 
 extern int                     msg_readcount;
 extern qboolean        msg_badread;            // set if a read goes beyond end of message
@@ -151,6 +154,7 @@ float MSG_ReadCoord16i (void);
 float MSG_ReadCoord32f (void);
 float MSG_ReadCoord (int protocol);
 void MSG_ReadVector (float *v, int protocol);
+float MSG_ReadAngle (int protocol);
 
 //============================================================================