X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Fplatforms.qh;h=c40467494f367adf9c68af7390dbd55ee6ec120c;hb=ac7aeb0215b2f4efd7564de1ff9298dd2cf02125;hp=e0a581b7cff7fa693abc6f07f24afb00b754cb9d;hpb=5733b1493c8c3fc14830f78122fe388e89f19338;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/platforms.qh b/qcsrc/common/triggers/platforms.qh index e0a581b7c..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; -void() plat_outside_touch; -void() plat_trigger_use; -void() plat_go_up; -void() plat_go_down; -void() plat_crush; +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, entity blocker); const float PLAT_LOW_TRIGGER = 1; .float dmg; - -#endif