summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net_structrw.c7
-rw-r--r--src/net_structrw.h10
2 files changed, 13 insertions, 4 deletions
diff --git a/src/net_structrw.c b/src/net_structrw.c
index 1905372e..e09cbd5d 100644
--- 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)
{
diff --git a/src/net_structrw.h b/src/net_structrw.h
index d989e621..3d835b65 100644
--- 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);