6 REGISTRY(Vehicles, BITS(3))
7 #define Vehicles_from(i) _Vehicles_from(i, VEH_Null)
8 #define get_vehicleinfo(i) Vehicles_from(i)
9 REGISTER_REGISTRY(RegisterVehicles)
10 REGISTRY_CHECK(Vehicles)
12 const int VEH_FIRST = 1;
13 #define VEH_LAST (Vehicles_COUNT - 1)
15 /** If you register a new vehicle, make sure to add it to all.inc */
16 #define REGISTER_VEHICLE(id, inst) REGISTER(RegisterVehicles, VEH, Vehicles, id, vehicleid, inst)
19 #include "sv_vehicles.qh"
21 #include "cl_vehicles.qh"
24 REGISTER_VEHICLE(Null, NEW(Vehicle));