summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2006-01-13 02:22:47 +0000
committerSimon Howard2006-01-13 02:22:47 +0000
commitcc2a17430fa1e6c95b24de881c68f06265214b88 (patch)
tree68d1f657f426976fe89b0ae880cbbf342999eb71
parentbaef203819ad5490809712332340f6fddf3c9f56 (diff)
downloadchocolate-doom-cc2a17430fa1e6c95b24de881c68f06265214b88.tar.gz
chocolate-doom-cc2a17430fa1e6c95b24de881c68f06265214b88.tar.bz2
chocolate-doom-cc2a17430fa1e6c95b24de881c68f06265214b88.zip
Update prototypes to match header. Make sure we include the header in the
source file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 288
-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);