From cc2a17430fa1e6c95b24de881c68f06265214b88 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 13 Jan 2006 02:22:47 +0000 Subject: Update prototypes to match header. Make sure we include the header in the source file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 288 --- src/net_structrw.c | 7 ++++++- src/net_structrw.h | 10 +++++++--- 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 #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); -- cgit v1.2.3