ref: cc2a17430fa1e6c95b24de881c68f06265214b88
parent: baef203819ad5490809712332340f6fddf3c9f56
author: Simon Howard <[email protected]>
date: Thu Jan 12 21:22:47 EST 2006
Update prototypes to match header. Make sure we include the header in the source file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 288
--- a/src/net_structrw.c
+++ b/src/net_structrw.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: net_structrw.c 287 2006-01-13 02:20:12Z fraggle $
+// $Id: net_structrw.c 288 2006-01-13 02:22:47Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.4 2006/01/13 02:22:47 fraggle
+// Update prototypes to match header. Make sure we include the header in the
+// source file.
+//
// Revision 1.3 2006/01/13 02:20:12 fraggle
// Signed integer read functions. Use these when reading ticcmd diffs.
//
@@ -41,6 +45,7 @@
#include <string.h>
#include "net_packet.h"
+#include "net_structrw.h"
void NET_WriteSettings(net_packet_t *packet, net_gamesettings_t *settings)
{
--- a/src/net_structrw.h
+++ b/src/net_structrw.h
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: net_structrw.h 281 2006-01-11 01:37:53Z fraggle $
+// $Id: net_structrw.h 288 2006-01-13 02:22:47Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.3 2006/01/13 02:22:47 fraggle
+// Update prototypes to match header. Make sure we include the header in the
+// source file.
+//
// Revision 1.2 2006/01/11 01:37:53 fraggle
// ticcmd diffs: allow compare and patching ticcmds, and reading/writing
// ticdiffs to packets.
@@ -40,8 +44,8 @@
extern void NET_WriteSettings(net_packet_t *packet, net_gamesettings_t *settings);
extern boolean NET_ReadSettings(net_packet_t *packet, net_gamesettings_t *settings);
-extern void NET_WriteTiccmdDiff(net_packet_t *packet, net_ticdiff_t *diff);
-extern boolean NET_ReadTiccmdDiff(net_packet_t *packet, net_ticdiff_t *diff);
+extern void NET_WriteTiccmdDiff(net_packet_t *packet, net_ticdiff_t *diff, boolean lowres_turn);
+extern boolean NET_ReadTiccmdDiff(net_packet_t *packet, net_ticdiff_t *diff, boolean lowres_turn);
extern void NET_TiccmdDiff(ticcmd_t *tic1, ticcmd_t *tic2, net_ticdiff_t *diff);
extern void NET_TiccmdPatch(ticcmd_t *src, net_ticdiff_t *diff, ticcmd_t *dest);