mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-29 05:50:58 +00:00
27 lines
587 B
C
27 lines
587 B
C
![]() |
#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__
|