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