From 2c77002f65230f68cc19c1816c6fd3b2b7b4c63b Mon Sep 17 00:00:00 2001 From: TimePath Date: Thu, 1 Oct 2015 18:43:40 +1000 Subject: [PATCH] Vehicles: remove simple registration --- qcsrc/common/vehicles/all.qh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/qcsrc/common/vehicles/all.qh b/qcsrc/common/vehicles/all.qh index 14c84f3a8..351c267a2 100644 --- a/qcsrc/common/vehicles/all.qh +++ b/qcsrc/common/vehicles/all.qh @@ -12,22 +12,6 @@ const int VEH_FIRST = 1; #define VEH_LAST (VEH_FIRST + VEH_COUNT - 1) /** If you register a new vehicle, make sure to add it to all.inc */ #define REGISTER_VEHICLE(id, inst) REGISTER(RegisterVehicles, VEH, vehicle_info, VEH_COUNT, id, vehicleid, inst) -#define REGISTER_VEHICLE_SIMPLE(id, vehicleflags, min_s, max_s, modelname, headmodelname, hudmodelname, headtag, hudtag, viewtag, shortname, vname) \ - REGISTER_VEHICLE(id, NEW(Vehicle)) { \ - this.netname = shortname; \ - this.vehicle_name = vname; \ - this.mdl = modelname; \ - this.spawnflags = vehicleflags; \ - this.mins = min_s; \ - this.maxs = max_s; \ - this.model = modelname; \ - this.head_model = headmodelname; \ - this.hud_model = hudmodelname; \ - this.tag_head = headtag; \ - this.tag_hud = hudtag; \ - this.tag_view = viewtag; \ - } \ - REGISTER_INIT(VEH, id) REGISTER_REGISTRY(RegisterVehicles) #if defined(SVQC) -- 2.39.2