]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
restructured transparent mesh processing to do conversion from straight index list...
[xonotic/darkplaces.git] / common.h
index 7d084f47f3fbc55ab44e16fd9bb2bb52ec9d6e73..85aba74d7ff9ce1367031193d2350dc557e24766 100644 (file)
--- a/common.h
+++ b/common.h
@@ -93,8 +93,7 @@ void MSG_WriteString (sizebuf_t *sb, char *s);
 void MSG_WriteCoord (sizebuf_t *sb, float f);
 void MSG_WriteAngle (sizebuf_t *sb, float f);
 void MSG_WritePreciseAngle (sizebuf_t *sb, float f);
-
-#define MSG_WriteFloatCoord MSG_WriteFloat
+void MSG_WriteDPCoord (sizebuf_t *sb, float f);
 
 extern int                     msg_readcount;
 extern qboolean        msg_badread;            // set if a read goes beyond end of message
@@ -115,14 +114,14 @@ char *MSG_ReadString (void);
 float MSG_ReadCoord (void);
 //float MSG_ReadAngle (void);
 
-#define MSG_ReadFloatCoord MSG_ReadFloat
+float MSG_ReadDPCoord (void);
 
 #define MSG_ReadAngle() (MSG_ReadByte() * (360.0f / 256.0f))
 #define MSG_ReadPreciseAngle() (MSG_ReadShort() * (360.0f / 65536.0f))
 
 #define MSG_ReadVector(v) {(v)[0] = MSG_ReadCoord();(v)[1] = MSG_ReadCoord();(v)[2] = MSG_ReadCoord();}
 
-extern qboolean dpprotocol;
+extern int dpprotocol;
 
 //============================================================================