]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/vehicles/vehicle.qh
Merge branch 'matthiaskrgr/stuff_descriptions' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle.qh
1 #ifndef VEHICLE_H
2 #define VEHICLE_H
3
4 int v_null(int) { return 0; }
5
6 CLASS(Vehicle, Object)
7     ATTRIB(Vehicle, vehicleid, int, 0)
8     /** hud icon */
9     ATTRIB(Vehicle, m_icon, string, string_null)
10     /** short name */
11     ATTRIB(Vehicle, netname, string, "")
12     /** human readable name */
13     ATTRIB(Vehicle, vehicle_name, string, "Vehicle")
14     /**  */
15     ATTRIB(Vehicle, vehicle_func, int(int), v_null)
16     /** full name of model */
17     ATTRIB(Vehicle, model, string, "")
18     /** currently a copy of the model */
19     ATTRIB(Vehicle, mdl, string, "")
20     /** full name of tur_head model */
21     ATTRIB(Vehicle, head_model, string, "")
22     /** cockpit model */
23     ATTRIB(Vehicle, hud_model, string, "")
24     /** tur_head model tag */
25     ATTRIB(Vehicle, tag_head, string, string_null)
26     /** hud model tag */
27     ATTRIB(Vehicle, tag_hud, string, string_null)
28     /** cockpit model tag */
29     ATTRIB(Vehicle, tag_view, string, string_null)
30     /** player physics mod */
31     ATTRIB(Vehicle, PlayerPhysplug, int(), func_null)
32     /**  */
33     ATTRIB(Vehicle, spawnflags, int, 0)
34     /** vehicle hitbox size */
35     ATTRIB(Vehicle, mins, vector, '-0 -0 -0')
36     /** vehicle hitbox size */
37     ATTRIB(Vehicle, maxs, vector, '0 0 0')
38 ENDCLASS(Vehicle)
39
40 #endif