]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_jumppads.qh
Merge branch 'TimePath/experiments/csqc_prediction' into Mario/qc_physics
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_jumppads.qh
index e517324480516a63836357fcdde928d9de8c8379..48f4d5cab40ec25f7caae24e6351225e337f7bdf 100644 (file)
@@ -8,11 +8,25 @@ const float PUSH_SILENT               = 2;
 .float istypefrag;
 .float height;
 
-void() SUB_UseTargets;
 
 float trigger_push_calculatevelocity_flighttime;
 
+#ifdef SVQC
+void() SUB_UseTargets;
 void trigger_push_use();
+#endif
+
+#ifdef CSQC
+.float active;
+.string target;
+.string targetname;
+
+const int ACTIVE_NOT           = 0;
+const int ACTIVE_ACTIVE        = 1;
+const int ACTIVE_IDLE          = 2;
+const int ACTIVE_BUSY          = 2;
+const int ACTIVE_TOGGLE                = 3;
+#endif
 
 /*
        trigger_push_calculatevelocity
@@ -47,9 +61,11 @@ void trigger_push_findtarget();
  *            values to target a point on the ceiling.
  *   movedir: if target is not set, this * speed * 10 is the velocity to be reached.
  */
+#ifdef SVQC
 void spawnfunc_trigger_push();
 
 void spawnfunc_target_push();
 void spawnfunc_info_notnull();
 void spawnfunc_target_position();
-#endif
\ No newline at end of file
+#endif
+#endif