6 void RegisterVehicles();
7 const int VEH_MAXCOUNT = 24;
8 entity vehicle_info[VEH_MAXCOUNT], vehicle_info_first, vehicle_info_last;
9 Vehicle get_vehicleinfo(int id);
11 const int VEH_FIRST = 1;
12 #define VEH_LAST (VEH_FIRST + VEH_COUNT - 1)
13 /** If you register a new vehicle, make sure to add it to all.inc */
14 #define REGISTER_VEHICLE(id, inst) REGISTER(RegisterVehicles, VEH, vehicle_info, VEH_COUNT, id, vehicleid, inst)
15 REGISTER_REGISTRY(RegisterVehicles)
18 #include "sv_vehicles.qh"
20 #include "cl_vehicles.qh"
23 REGISTER_VEHICLE(Null, NEW(Vehicle));