2001-10-18 04:44:58 +00:00
|
|
|
/*
|
|
|
|
net_svc.h
|
|
|
|
|
|
|
|
(description)
|
|
|
|
|
|
|
|
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 NET_SVC_H
|
|
|
|
#define NET_SVC_H
|
|
|
|
|
|
|
|
#include "QF/mathlib.h"
|
|
|
|
#include "QF/msg.h"
|
|
|
|
|
|
|
|
#include "bothdefs.h"
|
2001-10-18 08:57:03 +00:00
|
|
|
#include "pmove.h"
|
2001-10-18 04:44:58 +00:00
|
|
|
|
2001-11-02 06:00:21 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
NET_OK,
|
|
|
|
NET_SHORT,
|
|
|
|
NET_ERROR
|
|
|
|
} net_status_t;
|
|
|
|
|
2001-10-18 06:35:28 +00:00
|
|
|
typedef struct net_svc_print_s
|
|
|
|
{
|
|
|
|
byte level;
|
|
|
|
const char *message;
|
|
|
|
} net_svc_print_t;
|
|
|
|
|
2001-10-18 08:57:03 +00:00
|
|
|
typedef struct net_svc_damage_s
|
|
|
|
{
|
|
|
|
byte armor;
|
|
|
|
byte blood;
|
|
|
|
vec3_t from;
|
|
|
|
} net_svc_damage_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_serverdata_s
|
|
|
|
{
|
|
|
|
int protocolversion;
|
2001-11-02 08:10:41 +00:00
|
|
|
int servercount; // FIXME: rename this
|
2001-10-18 08:57:03 +00:00
|
|
|
const char *gamedir;
|
|
|
|
byte playernum;
|
|
|
|
qboolean spectator;
|
|
|
|
const char *levelname;
|
|
|
|
movevars_t movevars;
|
|
|
|
} net_svc_serverdata_t;
|
|
|
|
|
2001-10-18 13:33:12 +00:00
|
|
|
typedef struct net_svc_sound_s
|
|
|
|
{
|
|
|
|
short channel;
|
|
|
|
float volume;
|
|
|
|
float attenuation;
|
|
|
|
byte sound_num;
|
|
|
|
vec3_t position;
|
|
|
|
int entity;
|
|
|
|
} net_svc_sound_t;
|
|
|
|
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
typedef struct net_svc_updateping_s
|
|
|
|
{
|
|
|
|
byte player;
|
|
|
|
short ping;
|
|
|
|
} net_svc_updateping_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_updatepl_s
|
|
|
|
{
|
|
|
|
byte player;
|
|
|
|
byte packetloss;
|
|
|
|
} net_svc_updatepl_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_updateentertime_s
|
|
|
|
{
|
|
|
|
byte player;
|
|
|
|
float secondsago;
|
|
|
|
} net_svc_updateentertime_t;
|
|
|
|
|
2001-10-20 11:59:42 +00:00
|
|
|
typedef struct net_svc_spawnbaseline_s
|
|
|
|
{
|
|
|
|
short num;
|
|
|
|
byte modelindex;
|
|
|
|
byte frame;
|
|
|
|
byte colormap;
|
|
|
|
byte skinnum;
|
|
|
|
vec3_t origin;
|
|
|
|
vec3_t angles;
|
|
|
|
} net_svc_spawnbaseline_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_spawnstatic_s
|
|
|
|
{
|
|
|
|
byte modelindex;
|
|
|
|
byte frame;
|
|
|
|
byte colormap;
|
|
|
|
byte skinnum;
|
|
|
|
vec3_t origin;
|
|
|
|
vec3_t angles;
|
|
|
|
} net_svc_spawnstatic_t;
|
|
|
|
|
2001-10-18 18:48:49 +00:00
|
|
|
typedef struct net_svc_tempentity_s
|
|
|
|
{
|
|
|
|
byte type;
|
|
|
|
vec3_t position;
|
|
|
|
byte gunshotcount; // gunshot sparks
|
|
|
|
byte colorstart; // palette start (I think?)
|
|
|
|
byte colorlength; // palette length
|
|
|
|
vec3_t beamend; // beam endpos
|
|
|
|
short beamentity; // beam entity
|
|
|
|
} net_svc_tempentity_t;
|
|
|
|
|
2001-10-19 21:20:49 +00:00
|
|
|
typedef struct net_svc_spawnstaticsound_s
|
|
|
|
{
|
|
|
|
vec3_t position;
|
|
|
|
byte sound_num;
|
|
|
|
byte volume;
|
|
|
|
byte attenuation; // FIXME: should be a float (convert usages)
|
|
|
|
} net_svc_spawnstaticsound_t;
|
|
|
|
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
typedef struct net_svc_updatestat_s
|
|
|
|
{
|
|
|
|
byte stat;
|
|
|
|
byte value;
|
|
|
|
} net_svc_updatestat_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_updatestatlong_s
|
|
|
|
{
|
|
|
|
byte stat;
|
|
|
|
int value;
|
|
|
|
} net_svc_updatestatlong_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_cdtrack_s
|
|
|
|
{
|
|
|
|
byte cdtrack;
|
|
|
|
} net_svc_cdtrack_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_intermission_s
|
|
|
|
{
|
|
|
|
vec3_t origin;
|
|
|
|
vec3_t angles;
|
|
|
|
} net_svc_intermission_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_finale_s
|
|
|
|
{
|
|
|
|
const char *message;
|
|
|
|
} net_svc_finale_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_muzzleflash_s
|
|
|
|
{
|
|
|
|
short player;
|
|
|
|
} net_svc_muzzleflash_t;
|
|
|
|
|
2001-10-18 07:01:40 +00:00
|
|
|
typedef struct net_svc_updateuserinfo_s
|
|
|
|
{
|
|
|
|
byte slot;
|
|
|
|
int userid;
|
|
|
|
const char *userinfo;
|
|
|
|
} net_svc_updateuserinfo_t;
|
|
|
|
|
2001-10-18 07:23:33 +00:00
|
|
|
typedef struct net_svc_setinfo_s
|
|
|
|
{
|
|
|
|
byte slot;
|
|
|
|
const char *key;
|
|
|
|
const char *value;
|
|
|
|
} net_svc_setinfo_t;
|
|
|
|
|
2001-10-19 21:20:49 +00:00
|
|
|
typedef struct net_svc_serverinfo_s
|
|
|
|
{
|
|
|
|
const char *key;
|
|
|
|
const char *value;
|
|
|
|
} net_svc_serverinfo_t;
|
|
|
|
|
2001-10-18 06:35:28 +00:00
|
|
|
typedef struct net_svc_download_s
|
|
|
|
{
|
|
|
|
short size;
|
|
|
|
byte percent;
|
|
|
|
const char *name; // only one of name or data will be set
|
|
|
|
const byte *data;
|
|
|
|
} net_svc_download_t;
|
|
|
|
|
2001-10-19 21:20:49 +00:00
|
|
|
typedef struct net_svc_playerinfo_s
|
|
|
|
{
|
|
|
|
byte playernum;
|
|
|
|
int flags;
|
|
|
|
vec3_t origin;
|
|
|
|
byte frame;
|
|
|
|
byte msec;
|
|
|
|
usercmd_t usercmd;
|
|
|
|
vec3_t velocity;
|
|
|
|
byte modelindex;
|
|
|
|
byte skinnum;
|
|
|
|
byte effects;
|
|
|
|
byte weaponframe;
|
|
|
|
} net_svc_playerinfo_t;
|
|
|
|
|
2001-10-20 08:10:25 +00:00
|
|
|
typedef struct net_svc_nails_s
|
|
|
|
{
|
|
|
|
byte numnails;
|
|
|
|
struct {
|
|
|
|
vec3_t origin;
|
|
|
|
vec3_t angles;
|
|
|
|
} nails[MAX_PROJECTILES];
|
|
|
|
} net_svc_nails_t;
|
|
|
|
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
typedef struct net_svc_chokecount_s
|
|
|
|
{
|
|
|
|
byte count;
|
|
|
|
} net_svc_chokecount_t;
|
|
|
|
|
2001-10-21 14:21:30 +00:00
|
|
|
typedef struct net_svc_modellist_s
|
|
|
|
{
|
|
|
|
byte startmodel;
|
|
|
|
const char *models[MAX_MODELS + 1]; // space left for terminating
|
|
|
|
// empty string
|
|
|
|
byte nextmodel;
|
|
|
|
} net_svc_modellist_t;
|
|
|
|
|
2001-10-18 04:44:58 +00:00
|
|
|
typedef struct net_svc_soundlist_s
|
|
|
|
{
|
|
|
|
byte startsound;
|
2001-10-21 14:21:30 +00:00
|
|
|
const char *sounds[MAX_SOUNDS + 1]; // space left for terminating
|
|
|
|
// empty string
|
2001-10-18 04:44:58 +00:00
|
|
|
byte nextsound;
|
|
|
|
} net_svc_soundlist_t;
|
|
|
|
|
2001-10-21 14:21:30 +00:00
|
|
|
typedef struct net_svc_packetentities_s
|
2001-10-18 04:44:58 +00:00
|
|
|
{
|
2001-10-29 00:32:16 +00:00
|
|
|
int numwords, numdeltas;
|
2001-10-29 21:46:00 +00:00
|
|
|
unsigned int words[MAX_PACKET_ENTITIES * 2 + 1];
|
2001-10-29 00:32:16 +00:00
|
|
|
entity_state_t deltas[MAX_PACKET_ENTITIES];
|
2001-10-21 14:21:30 +00:00
|
|
|
} net_svc_packetentities_t;
|
2001-10-18 04:44:58 +00:00
|
|
|
|
2001-10-24 15:23:02 +00:00
|
|
|
typedef struct net_svc_deltapacketentities_s
|
|
|
|
{
|
2001-10-29 00:32:16 +00:00
|
|
|
int numwords, numdeltas;
|
|
|
|
byte from;
|
2001-10-29 21:46:00 +00:00
|
|
|
unsigned int words[MAX_PACKET_ENTITIES * 2 + 1];
|
2001-10-29 00:32:16 +00:00
|
|
|
entity_state_t deltas[MAX_PACKET_ENTITIES];
|
2001-10-24 15:23:02 +00:00
|
|
|
} net_svc_deltapacketentities_t;
|
|
|
|
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
typedef struct net_svc_maxspeed_s
|
|
|
|
{
|
|
|
|
float maxspeed;
|
|
|
|
} net_svc_maxspeed_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_entgravity_s
|
|
|
|
{
|
|
|
|
float gravity;
|
|
|
|
} net_svc_entgravity_t;
|
|
|
|
|
|
|
|
typedef struct net_svc_setpause_s
|
|
|
|
{
|
|
|
|
byte paused;
|
|
|
|
} net_svc_setpause_t;
|
|
|
|
|
2001-11-05 07:53:03 +00:00
|
|
|
const char *NET_SVC_GetString (int type);
|
2001-11-02 07:32:19 +00:00
|
|
|
net_status_t NET_SVC_Print_Emit (net_svc_print_t *block, sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Print_Parse (net_svc_print_t *block, msg_t *msg);
|
2001-11-02 08:10:41 +00:00
|
|
|
net_status_t NET_SVC_Damage_Emit (net_svc_damage_t *block, sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Damage_Parse (net_svc_damage_t *block, msg_t *msg);
|
2001-11-02 08:10:41 +00:00
|
|
|
net_status_t NET_SVC_ServerData_Emit (net_svc_serverdata_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_ServerData_Parse (net_svc_serverdata_t *block, msg_t *msg);
|
2001-11-02 10:40:20 +00:00
|
|
|
net_status_t NET_SVC_Sound_Emit (net_svc_sound_t *block, sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Sound_Parse (net_svc_sound_t *block, msg_t *msg);
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
net_status_t NET_SVC_UpdatePing_Emit (net_svc_updateping_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_UpdatePing_Parse (net_svc_updateping_t *block, msg_t *msg);
|
|
|
|
net_status_t NET_SVC_UpdatePL_Emit (net_svc_updatepl_t *block, sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_UpdatePL_Parse (net_svc_updatepl_t *block, msg_t *msg);
|
|
|
|
net_status_t NET_SVC_UpdateEnterTime_Emit (net_svc_updateentertime_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_UpdateEnterTime_Parse (net_svc_updateentertime_t *block,
|
|
|
|
msg_t *msg);
|
2001-11-02 10:40:20 +00:00
|
|
|
net_status_t NET_SVC_SpawnBaseline_Emit (net_svc_spawnbaseline_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_SpawnBaseline_Parse (net_svc_spawnbaseline_t *block,
|
2001-10-20 11:59:42 +00:00
|
|
|
msg_t *msg);
|
2001-11-02 10:40:20 +00:00
|
|
|
net_status_t NET_SVC_SpawnStatic_Emit (net_svc_spawnstatic_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_SpawnStatic_Parse (net_svc_spawnstatic_t *block,
|
|
|
|
msg_t *msg);
|
|
|
|
net_status_t NET_SVC_TempEntity_Emit (net_svc_tempentity_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_TempEntity_Parse (net_svc_tempentity_t *block, msg_t *msg);
|
2001-11-02 14:52:29 +00:00
|
|
|
net_status_t NET_SVC_SpawnStaticSound_Emit (net_svc_spawnstaticsound_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_SpawnStaticSound_Parse (net_svc_spawnstaticsound_t *block,
|
2001-10-19 21:20:49 +00:00
|
|
|
msg_t *msg);
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
net_status_t NET_SVC_UpdateStat_Emit (net_svc_updatestat_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_UpdateStat_Parse (net_svc_updatestat_t *block, msg_t *msg);
|
|
|
|
net_status_t NET_SVC_UpdateStatLong_Emit (net_svc_updatestatlong_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_UpdateStatLong_Parse (net_svc_updatestatlong_t *block,
|
|
|
|
msg_t *msg);
|
|
|
|
net_status_t NET_SVC_CDTrack_Emit (net_svc_cdtrack_t *block, sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_CDTrack_Parse (net_svc_cdtrack_t *block, msg_t *msg);
|
|
|
|
net_status_t NET_SVC_Intermission_Emit (net_svc_intermission_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_Intermission_Parse (net_svc_intermission_t *block,
|
|
|
|
msg_t *msg);
|
|
|
|
net_status_t NET_SVC_Finale_Emit (net_svc_finale_t *block, sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_Finale_Parse (net_svc_finale_t *block, msg_t *msg);
|
|
|
|
net_status_t NET_SVC_MuzzleFlash_Emit (net_svc_muzzleflash_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_MuzzleFlash_Parse (net_svc_muzzleflash_t *block,
|
|
|
|
msg_t *msg);
|
2001-11-02 14:52:29 +00:00
|
|
|
net_status_t NET_SVC_UpdateUserInfo_Emit (net_svc_updateuserinfo_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_UpdateUserInfo_Parse (net_svc_updateuserinfo_t *block,
|
2001-10-19 21:20:49 +00:00
|
|
|
msg_t *msg);
|
2001-11-02 14:52:29 +00:00
|
|
|
net_status_t NET_SVC_SetInfo_Emit (net_svc_setinfo_t *block, sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_SetInfo_Parse (net_svc_setinfo_t *block, msg_t *msg);
|
2001-11-02 14:52:29 +00:00
|
|
|
net_status_t NET_SVC_ServerInfo_Emit (net_svc_serverinfo_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_ServerInfo_Parse (net_svc_serverinfo_t *block, msg_t *msg);
|
2001-11-02 14:52:29 +00:00
|
|
|
net_status_t NET_SVC_Download_Emit (net_svc_download_t *block, sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Download_Parse (net_svc_download_t *block, msg_t *msg);
|
2001-11-03 10:48:55 +00:00
|
|
|
net_status_t NET_SVC_Playerinfo_Emit (net_svc_playerinfo_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Playerinfo_Parse (net_svc_playerinfo_t *block, msg_t *msg);
|
2001-11-03 10:48:55 +00:00
|
|
|
net_status_t NET_SVC_Nails_Emit (net_svc_nails_t *block, sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Nails_Parse (net_svc_nails_t *block, msg_t *msg);
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
net_status_t NET_SVC_ChokeCount_Emit (net_svc_chokecount_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_ChokeCount_Parse (net_svc_chokecount_t *block, msg_t *msg);
|
2001-11-03 10:48:55 +00:00
|
|
|
net_status_t NET_SVC_Modellist_Emit (net_svc_modellist_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Modellist_Parse (net_svc_modellist_t *block, msg_t *msg);
|
2001-11-03 10:48:55 +00:00
|
|
|
net_status_t NET_SVC_Soundlist_Emit (net_svc_soundlist_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_Soundlist_Parse (net_svc_soundlist_t *block, msg_t *msg);
|
2001-11-04 21:23:22 +00:00
|
|
|
net_status_t NET_SVC_PacketEntities_Emit (net_svc_packetentities_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_PacketEntities_Parse (net_svc_packetentities_t *block,
|
2001-11-04 21:23:22 +00:00
|
|
|
msg_t *msg);
|
|
|
|
net_status_t NET_SVC_DeltaPacketEntities_Emit (net_svc_deltapacketentities_t *block,
|
|
|
|
sizebuf_t *buf);
|
2001-11-02 06:00:21 +00:00
|
|
|
net_status_t NET_SVC_DeltaPacketEntities_Parse (net_svc_deltapacketentities_t *block,
|
2001-11-04 21:23:22 +00:00
|
|
|
msg_t *msg);
|
- add some missing boundschecking to CDAudio_Play's track remap (in
specific plugins only)
- convert updateping, updatepl, updateentertime, updatestat,
updatestatlong, cdtrack intermission, finale, muzzleflashchokecount,
maxspeed, entgravity, and setpause on the client. Can you say all
that in one breath? :)
2001-11-05 16:17:45 +00:00
|
|
|
net_status_t NET_SVC_MaxSpeed_Emit (net_svc_maxspeed_t *block, sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_MaxSpeed_Parse (net_svc_maxspeed_t *block, msg_t *msg);
|
|
|
|
net_status_t NET_SVC_EntGravity_Emit (net_svc_entgravity_t *block,
|
|
|
|
sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_EntGravity_Parse (net_svc_entgravity_t *block, msg_t *msg);
|
|
|
|
net_status_t NET_SVC_SetPause_Emit (net_svc_setpause_t *block, sizebuf_t *buf);
|
|
|
|
net_status_t NET_SVC_SetPause_Parse (net_svc_setpause_t *block, msg_t *msg);
|
2001-10-18 04:44:58 +00:00
|
|
|
|
|
|
|
#endif // NET_SVC_H
|