X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftrigger%2Fjumppads.qh;h=6fd61dc9da7561fb0bd684d30e50f95113267917;hp=bb0f4750eebbc2af005c12a86123bb02470270d7;hb=f438b415278f56c0cf86e2018b45fb3e6972259c;hpb=6be3fc1c5d51414554bb8f8f05dee5a0d12f7688 diff --git a/qcsrc/common/triggers/trigger/jumppads.qh b/qcsrc/common/triggers/trigger/jumppads.qh index bb0f4750e..6fd61dc9d 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qh +++ b/qcsrc/common/triggers/trigger/jumppads.qh @@ -15,14 +15,8 @@ const int NUM_JUMPPADSUSED = 3; float trigger_push_calculatevelocity_flighttime; #ifdef SVQC -void() SUB_UseTargets; -void trigger_push_use(); -#endif - -#ifdef CSQC -void ent_trigger_push(); - -void ent_target_push(); +void SUB_UseTargets(entity this, entity actor, entity trigger); +void trigger_push_use(entity this, entity actor, entity trigger); #endif /* @@ -44,7 +38,7 @@ vector trigger_push_calculatevelocity(vector org, entity tgt, float ht); void trigger_push_touch(); .vector dest; -void trigger_push_findtarget(); +void trigger_push_findtarget(entity this); /* * ENTITY PARAMETERS: @@ -59,10 +53,10 @@ void trigger_push_findtarget(); * movedir: if target is not set, this * speed * 10 is the velocity to be reached. */ #ifdef SVQC -void spawnfunc_trigger_push(); +spawnfunc(trigger_push); -void spawnfunc_target_push(); -void spawnfunc_info_notnull(); -void spawnfunc_target_position(); +spawnfunc(target_push); +spawnfunc(info_notnull); +spawnfunc(target_position); #endif #endif