-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathD_NETCMD.H
60 lines (48 loc) · 1.27 KB
/
D_NETCMD.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// d_netcmd.h : host/client network commands
// commands are executed through the command buffer
// like console commands
#ifndef __D_NETCMD__
#define __D_NETCMD__
#include "command.h"
// console vars
extern consvar_t cv_playername;
extern consvar_t cv_playercolor;
extern consvar_t cv_usemouse;
extern consvar_t cv_usejoystick;
extern consvar_t cv_autoaim;
// normaly in p_mobj but the .h in not read !
extern consvar_t cv_itemrespawntime;
extern consvar_t cv_itemrespawn;
extern consvar_t cv_respawnmonsters;
extern consvar_t cv_respawnmonsterstime;
// added 16-6-98 : splitscreen
extern consvar_t cv_splitscreen;
// 02-08-98 : r_things.c
extern consvar_t cv_skin;
// secondary splitscreen player
extern consvar_t cv_playername2;
extern consvar_t cv_playercolor2;
extern consvar_t cv_skin2;
extern consvar_t cv_teamplay;
extern consvar_t cv_teamdamage;
extern consvar_t cv_fraglimit;
extern consvar_t cv_timelimit;
typedef enum {
XD_NAMEANDCOLOR=1,
XD_WEAPONPREF,
XD_EXIT,
XD_QUIT,
XD_KICK,
XD_NETVAR,
XD_SAY,
XD_MAP,
XD_EXITLEVEL,
XD_LOADGAME,
XD_SAVEGAME,
XD_PAUSE,
MAXNETXCMD
} netxcmd_t;
// add game commands, needs cleanup
void D_RegisterClientCommands (void);
void D_SendPlayerConfig(void);
#endif