X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftriggers.qh;h=82c0916c19228c2dd6605b24a6f503d6b3c07061;hb=dff19fa74b0d1bc5a294d1ce78c3aa537126864e;hp=31b8be4416b83f7beb86644549b66197bca4628a;hpb=f281ed110c47171745b6ebd0b14bcc6ea6fd9405;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/triggers.qh b/qcsrc/common/triggers/triggers.qh index 31b8be441..82c0916c1 100644 --- a/qcsrc/common/triggers/triggers.qh +++ b/qcsrc/common/triggers/triggers.qh @@ -8,7 +8,7 @@ const float SF_TRIGGER_RESET = 4; const float SPAWNFLAG_NOMESSAGE = 1; const float SPAWNFLAG_NOTOUCH = 1; -.void() trigger_touch; +.bool pushable; .float antiwall_flag; // Variable to define what to do with func_clientwall // 0 == do nothing, 1 == deactivate, 2 == activate @@ -16,7 +16,7 @@ const float SPAWNFLAG_NOTOUCH = 1; .float height; .float nottargeted; -#define IFTARGETED if(!self.nottargeted && self.targetname != "") +#define IFTARGETED if(!this.nottargeted && this.targetname != "") .float lip; @@ -37,8 +37,8 @@ void target_voicescript_clear(entity pl); void FixSize(entity e); #ifdef CSQC -void trigger_common_read(bool withtarget); -void trigger_remove_generic(); +void trigger_common_read(entity this, bool withtarget); +void trigger_remove_generic(entity this); .float active; .string target;