X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftriggers.qh;h=915e048666b5d2033122abf0d118e1132097e748;hb=47ac01ac700f05fceef988e8051282f0d41ddf6c;hp=c8e593f9cb53666eb6418b2d18033b7dac31783b;hpb=565b64117f10806899b4742ba69f8967c059ef78;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/triggers.qh b/qcsrc/common/triggers/triggers.qh index c8e593f9c..915e04866 100644 --- a/qcsrc/common/triggers/triggers.qh +++ b/qcsrc/common/triggers/triggers.qh @@ -10,6 +10,8 @@ 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 @@ -22,7 +24,7 @@ const float SPAWNFLAG_NOTOUCH = 1; // used elsewhere (will fix) #ifdef SVQC -void trigger_common_write(bool withtarget); +void trigger_common_write(entity this, bool withtarget); string trigger_magicear_processmessage_forallears(entity source, float teamsay, entity privatesay, string msgin); @@ -37,8 +39,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;