gzdoom/code/d_netinf.h

27 lines
587 B
C
Raw Normal View History

1998-07-14 00:00:00 +00:00
#ifndef __D_NETINFO_H__
#define __D_NETINFO_H__
#include "c_cvars.h"
extern cvar_t *autoaim;
#define MAXPLAYERNAME 23
struct userinfo_s {
char netname[MAXPLAYERNAME+1];
fixed_t aimdist;
int color;
};
typedef struct userinfo_s userinfo_t;
void D_SetupUserInfo (void);
void D_UserInfoChanged (cvar_t *info);
void D_SendServerInfoChange (const cvar_t *cvar, const char *value);
void D_DoServerInfoChange (byte **stream);
void D_WriteUserInfoStrings (int player, byte **stream);
void D_ReadUserInfoStrings (int player, byte **stream, BOOL update);
#endif //__D_CLIENTINFO_H__