Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
all.qh
Go to the documentation of this file.
1#pragma once
2
3#include "vehicle.qh"
4
5REGISTRY(Vehicles, BITS(4))
6REGISTER_REGISTRY(Vehicles)
7REGISTRY_CHECK(Vehicles)
8
9const int VEH_FIRST = 1;
10#define VEH_LAST (REGISTRY_COUNT(Vehicles) - 1)
11
12#define REGISTER_VEHICLE(id, inst) REGISTER(Vehicles, VEH, id, vehicleid, inst)
13
14#if defined(SVQC)
15 #include "sv_vehicles.qh"
16#elif defined(CSQC)
17 #include "cl_vehicles.qh"
18#endif
19
24REGISTRY_DEFINE_GET(Vehicles, VEH_Null)
25
26#include "vehicle/_mod.qh"
#define BITS(n)
Definition bits.qh:9
bool m_hidden
Definition all.qh:21
ATTRIB(Vehicle, m_icon, string)
hud icon
#define true
Definition csprogsdefs.qh:5
#define NEW(cname,...)
Definition oo.qh:117
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define REGISTER_REGISTRY(id)
Definition registry.qh:229
#define REGISTRY(id, max)
Declare a new registry.
Definition registry.qh:26
#define REGISTRY_CHECK(id)
Definition registry.qh:175
#define REGISTRY_DEFINE_GET(id, null)
Definition registry.qh:40
#define REGISTER_VEHICLE(id, inst)
Definition all.qh:12
const int VEH_FIRST
Definition all.qh:9