centerprints now are managed independently per line
[divverent/nexuiz.git] / data / qcsrc / server / sys.qh
1 #pragma flag off fastarrays // make dp behave with new fteqcc versions. remove when dp bug with fteqcc fastarrays is fixed
2
3 // DO NOT modify the contents of this file, or you will risk incompatibility with the game engine.
4
5 entity          self;
6 entity          other;
7 entity          world;
8
9 float           time;
10 float           frametime;
11 float           force_retouch;
12 string          mapname;
13 float           deathmatch;
14 float           coop;
15 float           teamplay;
16 float           serverflags;
17 float           total_secrets;
18 float           total_monsters;
19 float           found_secrets;
20 float           killed_monsters;
21 float           parm1, parm2, parm3, parm4, parm5, parm6, parm7, parm8, parm9, parm10, parm11, parm12, parm13, parm14, parm15, parm16;
22 vector          v_forward, v_up, v_right;
23 float           trace_allsolid;
24 float           trace_startsolid;
25 float           trace_fraction;
26 vector          trace_endpos;
27 vector          trace_plane_normal;
28 float           trace_plane_dist;
29 entity          trace_ent;
30 float           trace_inopen;
31 float           trace_inwater;
32
33 entity          msg_entity;
34
35 void            main (void);
36 void            StartFrame (void);
37 void            PlayerPreThink (void);
38 void            PlayerPostThink (void);
39 void            ClientKill (void);
40 void            ClientConnect (void);
41 void            PutClientInServer (void);
42 void            ClientDisconnect (void);
43 void            SetNewParms (void);
44 void            SetChangeParms (void);
45
46 /////////////////////////////////////////////////////////
47 void            end_sys_globals;
48 /////////////////////////////////////////////////////////
49
50 .float          modelindex;
51
52 .vector         absmin, absmax;
53
54 .float          ltime;
55 .float          movetype;
56 .float          solid;
57
58 .vector         origin;
59 .vector         oldorigin;
60 .vector         velocity;
61 .vector         angles;
62 .vector         avelocity;
63 .vector         punchangle;
64
65 .string         classname;
66 .string         model;
67
68 .float          frame;
69 .float          skin;
70 .float          effects;
71
72 .vector         mins, maxs;
73 .vector         size;
74
75 .void()         touch;
76 .void()         use;
77 .void()         think;
78 .void()         blocked;
79
80 .float          nextthink;
81
82 .entity         groundentity;
83
84 .float          health;
85 .float          frags;
86
87 .float          weapon;
88 .string         weaponmodel;
89 .float          weaponframe;
90
91 .float          currentammo;
92 .float          ammo_shells, ammo_nails, ammo_rockets, ammo_cells;
93 .float          items;
94
95 .float          takedamage;
96
97 .entity         chain;
98
99 .float          deadflag;
100
101 .vector         view_ofs;
102
103 .float          button0;
104 .float          button1;
105 .float          button2;
106 .float          impulse;
107 .float          fixangle;
108 .vector         v_angle;
109 .float          idealpitch;
110
111 .string         netname;
112 .entity         enemy;
113
114 .float          flags;
115 .float          colormap;
116 .float          team;
117 .float          max_health;
118 .float          teleport_time;
119 .float          armortype;
120 .float          armorvalue;
121 .float          waterlevel;
122 .float          watertype;
123 .float          ideal_yaw;
124 .float          yaw_speed;
125
126 .entity         aiment;
127 .entity         goalentity;
128
129 .float          spawnflags;
130
131 .string         target;
132 .string         targetname;
133
134 .float          dmg_take;
135 .float          dmg_save;
136 .entity         dmg_inflictor;
137
138 .entity         owner;
139 .vector         movedir;
140 .string         message;
141 .float          sounds;
142 .string         noise, noise1, noise2, noise3;
143
144 /////////////////////////////////////////////////////////
145 void            end_sys_fields;
146 /////////////////////////////////////////////////////////