mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-09 01:00:54 +00:00
- move clc_t into net_clc.h from net_protocol.h - split packet processing stuff from net.h into net_packet.h - add a is_server arg to Log_{Incoming,Outgoing}_Packet, so libs/net is oblivious to if we're running a server or not (except with the arg, obviously) - remove the long obsolete (even in original quake) svc_spawnbinary stuff - make nq use QF/net_svc.h - make nq link to libQFnet too - make qw's cl_parse.c use net_svc_qw_any_t instead of net_svc_any_t
44 lines
991 B
C
44 lines
991 B
C
/*
|
|
net.h
|
|
|
|
quake's interface to the networking layer
|
|
|
|
Copyright (C) 1996-1997 Id Software, Inc.
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to:
|
|
|
|
Free Software Foundation, Inc.
|
|
59 Temple Place - Suite 330
|
|
Boston, MA 02111-1307, USA
|
|
|
|
$Id$
|
|
*/
|
|
|
|
#ifndef QF_NET_PACKET_H
|
|
#define QF_NET_PACKET_H
|
|
|
|
#include "QF/qdefs.h"
|
|
|
|
#define MAX_PROJECTILES 32
|
|
|
|
typedef enum
|
|
{
|
|
NET_OK,
|
|
NET_SHORT,
|
|
NET_ERROR
|
|
} net_status_t;
|
|
|
|
#endif // QF_NET_PACKET_H
|
|
|