]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/vehicle.qh
Load vehicles in the menu with the registry system
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / vehicle.qh
diff --git a/qcsrc/common/vehicles/vehicle.qh b/qcsrc/common/vehicles/vehicle.qh
new file mode 100644 (file)
index 0000000..65b1397
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef VEHICLE_H
+#define VEHICLE_H
+
+int v_null(int) { return 0; }
+
+CLASS(Vehicle, Object)
+    ATTRIB(Vehicle, m_id, int, 0)
+ENDCLASS(Vehicle)
+
+#endif