]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/vehicles/vehicles_def.qh
Merge remote branch 'origin/master' into terencehill/hud_config_fixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / vehicles / vehicles_def.qh
index 9f21eaf7b6297904fa5c5c28f22d368b89edd0ad..dcb1854f368b45803f828bab8a12bfa0e73e86c0 100644 (file)
@@ -14,6 +14,9 @@ float VHF_DEATHEJECT    = 64;   /// Vehicle ejects pilot upon fatal damage
 float VHF_MOVE_GROUND   = 128;  /// Vehicle moves on gound
 float VHF_MOVE_HOVER    = 256;  /// Vehicle hover close to gound
 float VHF_MOVE_FLY      = 512;  /// Vehicle is airborn
+float VHF_DMGSHAKE      = 1024;
+float VHF_DMGROLL       = 2048;
+float VHF_DMGHEADROLL   = 4096;
 
 .entity gun1;
 .entity gun2;
@@ -40,6 +43,7 @@ float VHF_MOVE_FLY      = 512;  /// Vehicle is airborn
 .float  vehicle_respawntime;
 .void() vehicle_spawn;
 
+void vehicles_exit(float eject);
 var .void(float exit_flags) vehicle_exit;
 float VHEF_NORMAL = 0;  /// User pressed exit key
 float VHEF_EJECT  = 1;  /// User pressed exit key 3 times fast (not implemented) or vehile is dying