X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Fplatforms.qh;h=c40467494f367adf9c68af7390dbd55ee6ec120c;hb=d865de7a9a17c5a1d9286aec40f68c3530697660;hp=6bdfb23d68bf0ced7ea0ee836e6cbcb4bb6d0368;hpb=3220cab5a7b69ced4a641504a6a5f4eccf2d3bfc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/platforms.qh b/qcsrc/common/triggers/platforms.qh index 6bdfb23d6..c40467494 100644 --- a/qcsrc/common/triggers/platforms.qh +++ b/qcsrc/common/triggers/platforms.qh @@ -1,16 +1,13 @@ -#ifndef PLATFORMS_H -#define PLATFORMS_H +#pragma once .float dmgtime2; -void plat_center_touch(entity this); -void plat_outside_touch(entity this); +void plat_center_touch(entity this, entity toucher); +void plat_outside_touch(entity this, entity toucher); void plat_trigger_use(entity this, entity actor, entity trigger); void plat_go_up(entity this); void plat_go_down(entity this); -void plat_crush(entity this); +void plat_crush(entity this, entity blocker); const float PLAT_LOW_TRIGGER = 1; .float dmg; - -#endif