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